diff options
-rw-r--r-- | Swift/Packaging/nsis/swift.nsi | 5 | ||||
-rw-r--r-- | Swift/Packaging/nsis/translations-install.nsh | 1 | ||||
-rw-r--r-- | Swift/Packaging/nsis/translations-uninstall.nsh | 1 |
3 files changed, 7 insertions, 0 deletions
diff --git a/Swift/Packaging/nsis/swift.nsi b/Swift/Packaging/nsis/swift.nsi index f8e592d..a5cc71a 100644 --- a/Swift/Packaging/nsis/swift.nsi +++ b/Swift/Packaging/nsis/swift.nsi @@ -82,6 +82,9 @@ File "..\..\QtUI\Swift\sounds\message-received.wav" SetOutPath $INSTDIR\images File "..\..\QtUI\Swift\images\logo-icon-32.png" +SetOutPath $INSTDIR\translations +!include translations-install.nsh + # create start menu item !insertmacro MUI_STARTMENU_WRITE_BEGIN Application CreateDirectory "$SMPROGRAMS\$StartMenuFolder" @@ -152,7 +155,9 @@ section "Uninstall" delete $INSTDIR\imageformats\qtiff4.dll delete $INSTDIR\sounds\message-received.wav delete $INSTDIR\images\logo-icon-32.png" + !include translations-uninstall.nsh + RmDir $INSTDIR\translations RmDir $INSTDIR\Prerequisites RmDir $INSTDIR\imageformats RmDir $INSTDIR\images diff --git a/Swift/Packaging/nsis/translations-install.nsh b/Swift/Packaging/nsis/translations-install.nsh new file mode 100644 index 0000000..7e6a085 --- /dev/null +++ b/Swift/Packaging/nsis/translations-install.nsh @@ -0,0 +1 @@ +File "..\..\QtUI\Swift\translations\swift_nl.qm" diff --git a/Swift/Packaging/nsis/translations-uninstall.nsh b/Swift/Packaging/nsis/translations-uninstall.nsh new file mode 100644 index 0000000..bfb0388 --- /dev/null +++ b/Swift/Packaging/nsis/translations-uninstall.nsh @@ -0,0 +1 @@ +delete $INSTDIR\translations\swift_nl.qm |