summaryrefslogtreecommitdiff
path: root/win/template.nsi
diff options
context:
space:
mode:
Diffstat (limited to 'win/template.nsi')
-rwxr-xr-xwin/template.nsi6
1 files changed, 3 insertions, 3 deletions
diff --git a/win/template.nsi b/win/template.nsi
index beb4dc2..cbf44d8 100755
--- a/win/template.nsi
+++ b/win/template.nsi
@@ -66,7 +66,7 @@ Section "InstallFiles"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\$app_name_lower" "DisplayName" "$app_name"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\$app_name_lower" "UninstallString" '"$INSTDIR\uninstall.exe"'
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\$app_name_lower" "InstallLocation" "$INSTDIR"
- WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\$app_name_lower" "DisplayIcon" "$INSTDIR\$app_name_lower.ico"
+ WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\$app_name_lower" "DisplayIcon" "$INSTDIR\icon.ico"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\$app_name_lower" "Readme" "$INSTDIR\readme.txt"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\$app_name_lower" "DisplayVersion" "$version"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\$app_name_lower" "Publisher" "LEAP Encryption Access Project"
@@ -75,11 +75,11 @@ Section "InstallFiles"
;Start Menu
createDirectory "$SMPROGRAMS\$app_name\"
- createShortCut "$SMPROGRAMS\$app_name\$app_name.lnk" "$INSTDIR\bitmask-vpn.exe" "" "$INSTDIR\$app_name_lower.ico"
+ createShortCut "$SMPROGRAMS\$app_name\$app_name.lnk" "$INSTDIR\bitmask-vpn.exe" "" "$INSTDIR\icon.ico"
File "readme.txt"
File "..\staging\nssm.exe"
- File "..\assets\$app_name_lower.ico"
+ File "/oname=icon.ico" "..\assets\$app_name_lower.ico"
$extra_install_files