修改配置

This commit is contained in:
yj 2025-02-27 17:45:57 +08:00
parent 715ee0be43
commit a02232a770
2 changed files with 18 additions and 1 deletions

16
build/install.nsh Normal file
View File

@ -0,0 +1,16 @@
!macro customFinishPage
AutoCloseWindow true
Function StartApp
${if} ${isUpdated}
StrCpy $1 "--updated"
${else}
StrCpy $1 ""
${endif}
${StdUtils.ExecShellAsUser} $0 "$launchLink" "open" "$1"
FunctionEnd
Function .onInstSuccess
Call StartApp
FunctionEnd
!macroend

View File

@ -51,6 +51,7 @@
"deleteAppDataOnUninstall": true, "deleteAppDataOnUninstall": true,
"shortcutName": "智汇享", "shortcutName": "智汇享",
"allowElevation": true, "allowElevation": true,
"perMachine": true "perMachine": true,
"include": "build/install.nsh"
} }
} }