summaryrefslogtreecommitdiff
path: root/xmake/scripts
diff options
context:
space:
mode:
authorruki <[email protected]>2023-11-14 23:28:30 +0800
committerruki <[email protected]>2023-11-14 23:28:30 +0800
commitaa38c3aa417f60f1015446ac4254cae3fa1e16be (patch)
tree21cdd735f2417034635871a913c65cba83dc2c8f /xmake/scripts
parent2a70793d5afbca2417bc65601f3a1785a1328d76 (diff)
improve installfiles
Diffstat (limited to 'xmake/scripts')
-rw-r--r--xmake/scripts/xpack/nsis/makensis.nsi3
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/scripts/xpack/nsis/makensis.nsi b/xmake/scripts/xpack/nsis/makensis.nsi
index 77b3c10fa..6870c32b3 100644
--- a/xmake/scripts/xpack/nsis/makensis.nsi
+++ b/xmake/scripts/xpack/nsis/makensis.nsi
@@ -191,6 +191,7 @@ Section "${PACKAGE_NAME} (required)" InstallExeutable
; set output path to the installation directory.
SetOutPath $InstDir
+ ; TODO
; remove previous directories used
IfFileExists "$InstDir\${PACKAGE_FILENAME}" file_found file_not_found_or_end
file_found:
@@ -207,7 +208,7 @@ Section "${PACKAGE_NAME} (required)" InstallExeutable
!macro AddReg RootKey
WriteRegStr ${RootKey} ${RegUninstall} "NoAdmin" "$NOADMIN"
WriteRegStr ${RootKey} ${RegUninstall} "DisplayName" "${PACKAGE_NAME} (${PACKAGE_ARCH})"
- WriteRegStr ${RootKey} ${RegUninstall} "DisplayIcon" '"$InstDir\${PACKAGE_FILENAME}"'
+ WriteRegStr ${RootKey} ${RegUninstall} "DisplayIcon" '"$InstDir\${PACKAGE_FILENAME}"' ; TODO
WriteRegStr ${RootKey} ${RegUninstall} "Comments" "${PACKAGE_DESCRIPTION}"
WriteRegStr ${RootKey} ${RegUninstall} "Publisher" "${PACKAGE_COPYRIGHT}"
WriteRegStr ${RootKey} ${RegUninstall} "UninstallString" '"$InstDir\uninstall.exe"'