diff options
| author | ruki <[email protected]> | 2023-11-15 23:29:15 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-11-15 23:29:15 +0800 |
| commit | 3e5f3c41e0eebf9103118b5127a0b78f5df6873f (patch) | |
| tree | b56da761d482f4cd79b6540596fa22d57cad251d /xmake/scripts/xpack | |
| parent | a0abf455076e2fa5c0193ffe195907e19bea06dd (diff) | |
add licensefile
Diffstat (limited to 'xmake/scripts/xpack')
| -rw-r--r-- | xmake/scripts/xpack/nsis/makensis.nsi | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/xmake/scripts/xpack/nsis/makensis.nsi b/xmake/scripts/xpack/nsis/makensis.nsi index 22ffaea0f..cbe70366f 100644 --- a/xmake/scripts/xpack/nsis/makensis.nsi +++ b/xmake/scripts/xpack/nsis/makensis.nsi @@ -87,7 +87,9 @@ ManifestDPIAware true ; add the install Pages !insertmacro MUI_PAGE_WELCOME -;!insertmacro MUI_PAGE_LICENSE "..\LICENSE.md" +!if "${PACKAGE_LICENSEFILE}" != "" + !insertmacro MUI_PAGE_LICENSE "${PACKAGE_LICENSEFILE}" +!endif !insertmacro MUI_PAGE_COMPONENTS !insertmacro MUI_PAGE_DIRECTORY !insertmacro MUI_PAGE_INSTFILES |
