diff options
| author | ruki <[email protected]> | 2023-11-15 23:39:08 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-11-15 23:39:08 +0800 |
| commit | 355df6fd41db138b340dee56248f8c3fe0dcc75f (patch) | |
| tree | cb65f33b54de72ad3e275060437dd10c37c6ae98 /xmake/scripts | |
| parent | 3e5f3c41e0eebf9103118b5127a0b78f5df6873f (diff) | |
add nsis sections
Diffstat (limited to 'xmake/scripts')
| -rw-r--r-- | xmake/scripts/xpack/nsis/makensis.nsi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xmake/scripts/xpack/nsis/makensis.nsi b/xmake/scripts/xpack/nsis/makensis.nsi index cbe70366f..d201a655e 100644 --- a/xmake/scripts/xpack/nsis/makensis.nsi +++ b/xmake/scripts/xpack/nsis/makensis.nsi @@ -247,14 +247,18 @@ Section "Add to PATH" InstallPath SendMessage ${HWND_BROADCAST} ${WM_WININICHANGE} 0 "STR:Environment" /TIMEOUT=5000 SectionEnd +${PACKAGE_NSIS_SECTIONS} + ; define language strings LangString DESC_InstallExeutable ${LANG_ENGLISH} "${PACKAGE_DESCRIPTION}" LangString DESC_InstallPath ${LANG_ENGLISH} "Add ${PACKAGE_NAME} to PATH" +${PACKAGE_NSIS_DESCS} ; assign language strings to sections !insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN !insertmacro MUI_DESCRIPTION_TEXT ${InstallExeutable} $(DESC_InstallExeutable) !insertmacro MUI_DESCRIPTION_TEXT ${InstallPath} $(DESC_InstallPath) +${PACKAGE_NSIS_DESCRIPTION_TEXTS} !insertmacro MUI_FUNCTION_DESCRIPTION_END ; setup uninstaller |
