summaryrefslogtreecommitdiff
path: root/win
diff options
context:
space:
mode:
authorkali <kali@win>2018-06-27 20:27:18 +0200
committerKali Kaneko (leap communications) <kali@leap.se>2018-06-27 20:34:15 +0200
commite6a04e5a7b7c669a03e6d782c795e40fedce526c (patch)
treeaa4d1ce1cd17c5bf33351f8844a140933cd8cef1 /win
parent8b0ad0c146015cfeef6abd4373ca99a3b4e57826 (diff)
[pkg] compile and pack helper
Diffstat (limited to 'win')
-rwxr-xr-xwin/template.nsi6
1 files changed, 4 insertions, 2 deletions
diff --git a/win/template.nsi b/win/template.nsi
index 009be7b..7870606 100755
--- a/win/template.nsi
+++ b/win/template.nsi
@@ -1,11 +1,10 @@
!include "MUI.nsh"
Name "$app_name"
-RequestExecutionLevel admin
-
Outfile "..\dist\$app_name-installer.exe"
;TODO make the installdir configurable - and set it in the registry.
InstallDir "C:\Program Files\$app_name\"
+RequestExecutionLevel admin
!define BITMAP_FILE riseupvpn.bmp
@@ -78,6 +77,9 @@ Section "InstallService"
ExecWait '"$INSTDIR\nssm.exe" set $app_name_lower-helper AppDirectory "$INSTDIR"'
ExecWait '"$INSTDIR\nssm.exe" start $app_name_lower-helper'
+ ; why are these here?
+ Delete "C:\$app_name_lower.ico"
+ Delete "C:\$app_name_lower.png"
SectionEnd
Section "Uninstall"