diff options
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/windows/portable.xml | 6 | ||||
-rw-r--r-- | packaging/windows/setup.nsi | 6 |
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 |