diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-01-24 15:51:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-01-24 16:16:25 +0300 |
commit | 29bbca36c2eb82797c9c19f9d6d1efcc382cf4e4 (patch) | |
tree | e708bf5090e85a68601ad124f0e85f1045ef19a2 /packaging/windows | |
parent | b0e0666cc11fe62c6dc81a10cfb8f67cc4b8f8db (diff) | |
download | mv-29bbca36c2eb82797c9c19f9d6d1efcc382cf4e4.tar.gz mv-29bbca36c2eb82797c9c19f9d6d1efcc382cf4e4.tar.bz2 mv-29bbca36c2eb82797c9c19f9d6d1efcc382cf4e4.tar.xz mv-29bbca36c2eb82797c9c19f9d6d1efcc382cf4e4.zip |
Add option for download evol music in wndows installer.
Diffstat (limited to 'packaging/windows')
-rw-r--r-- | packaging/windows/setup.nsi | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/packaging/windows/setup.nsi b/packaging/windows/setup.nsi index 75aa86bc4..fd9c0399e 100644 --- a/packaging/windows/setup.nsi +++ b/packaging/windows/setup.nsi @@ -338,8 +338,8 @@ Section "Create Shortcuts" SecShortcuts ${registerExtension} "$INSTDIR\manaplus.exe" ".manaplus" "ManaPlus brandings" SectionEnd -Section /o "Music for tmw" SecMusic - AddSize 17602 +Section /o "Tmw music" SecTmwMusic + AddSize 25200 CreateDirectory "$INSTDIR\data\music" SetOutPath "$INSTDIR\data\music" NSISdl::download "http://downloads.sourceforge.net/themanaworld/tmwmusic-0.3.tar.gz" "$TEMP\tmwmusic-0.3.tar.gz" @@ -353,7 +353,16 @@ Section /o "Portable" SecPortable File "portable.xml" SectionEnd -Section "Evol shortcuts" SecEvol +Section /o "Evol Online music" SecEvolMusic + AddSize 9787 + CreateDirectory "$INSTDIR\data\music" + SetOutPath "$INSTDIR\data\music" + NSISdl::download "http://downloads.sourceforge.net/project/evolonline/music/evolmusic-beta1-1.tar.gz" "$TEMP\evolmusic-beta1-1.tar.gz" + untgz::extract -j -d "$INSTDIR\data\music" "$TEMP\evolmusic-beta1-1.tar.gz" + Delete "$TEMP\evolmusic-beta1-1.tar.gz" +SectionEnd + +Section "Evol Online shortcuts" SecEvol SetOutPath "$INSTDIR" CreateDirectory "$INSTDIR\data\evol" CreateDirectory "$INSTDIR\data\evol\images" @@ -376,9 +385,10 @@ SectionEnd !insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN !insertmacro MUI_DESCRIPTION_TEXT ${SecCore} "The core program files." !insertmacro MUI_DESCRIPTION_TEXT ${SecShortcuts} "Create game shortcuts and register extensions." - !insertmacro MUI_DESCRIPTION_TEXT ${SecMusic} "Background tmw music. (If selected the tmw music will be downloaded from the internet.)" + !insertmacro MUI_DESCRIPTION_TEXT ${SecTmwMusic} "Background tmw music. (If selected the tmw music will be downloaded from the internet.)" !insertmacro MUI_DESCRIPTION_TEXT ${SecPortable} "Portable client. (If selected client will work as portable client.)" !insertmacro MUI_DESCRIPTION_TEXT ${SecEvol} "Create shortcuts for Evol Online." + !insertmacro MUI_DESCRIPTION_TEXT ${SecEvolMusic} "Background evol music. (If selected the evol music will be downloaded from the internet.)" !insertmacro MUI_DESCRIPTION_TEXT ${SecTrans} "Translations for the user interface. Uncheck this component to leave it in English." !insertmacro MUI_FUNCTION_DESCRIPTION_END |