summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2010-10-15 22:49:12 +0300
committerAndrei Karas <akaras@inbox.ru>2010-10-18 23:52:48 +0300
commit82183b30b62e3bc9030e30bbfafdde3846ad9856 (patch)
treef9888551f57adc0aa8c63b438eba46c54eefae64 /packaging
parent11c6210b6190111657f7cccf33187ac4d7050a1f (diff)
downloadmana-82183b30b62e3bc9030e30bbfafdde3846ad9856.tar.gz
mana-82183b30b62e3bc9030e30bbfafdde3846ad9856.tar.bz2
mana-82183b30b62e3bc9030e30bbfafdde3846ad9856.tar.xz
mana-82183b30b62e3bc9030e30bbfafdde3846ad9856.zip
Add portable support for windows version.
Add portable option to windows installer. Reviewed-by: Thorbjorn
Diffstat (limited to 'packaging')
-rw-r--r--packaging/windows/portable.xml6
-rw-r--r--packaging/windows/setup.nsi6
2 files changed, 12 insertions, 0 deletions
diff --git a/packaging/windows/portable.xml b/packaging/windows/portable.xml
new file mode 100644
index 00000000..0059d109
--- /dev/null
+++ b/packaging/windows/portable.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0"?>
+<configuration>
+ <option name="dataDir" value="logs"/>
+ <option name="configDir" value="configs"/>
+ <option name="screenshotDir" value="screenshots"/>
+</configuration>
diff --git a/packaging/windows/setup.nsi b/packaging/windows/setup.nsi
index 9c620f35..602fc29f 100644
--- a/packaging/windows/setup.nsi
+++ b/packaging/windows/setup.nsi
@@ -229,6 +229,11 @@ Section /o "Music" SecMusic
Delete "$TEMP\tmwmusic-0.2.tar.gz"
SectionEnd
+Section /o "Portable" SecPortable
+ SetOutPath "$INSTDIR"
+ File "portable.xml"
+SectionEnd
+
Section "Translations" SecTrans
SetOutPath "$INSTDIR"
File /nonfatal /r "${SRCDIR}\translations"
@@ -238,6 +243,7 @@ SectionEnd
!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
!insertmacro MUI_DESCRIPTION_TEXT ${SecCore} "The core program files."
!insertmacro MUI_DESCRIPTION_TEXT ${SecMusic} "Background music. (If selected the 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 ${SecTrans} "Translations for the user interface into 23 different languages. Uncheck this component to leave it in English."
!insertmacro MUI_FUNCTION_DESCRIPTION_END