fix: use wraith-logo.ico for installer icon and desktop shortcuts
Some checks failed
Build & Sign Wraith / Build Windows + Sign (push) Failing after 43s
Some checks failed
Build & Sign Wraith / Build Windows + Sign (push) Failing after 43s
Replaces default NSIS icon with the Wraith ghost logo. Icon included in install directory for Start Menu and Desktop shortcut references. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
8572e6e7ea
commit
2cfb2c0b3b
@ -319,7 +319,7 @@ jobs:
|
||||
InstallDirRegKey HKLM "Software\Wraith" "InstallDir"
|
||||
RequestExecutionLevel admin
|
||||
|
||||
!define MUI_ICON "${NSISDIR}\Contrib\Graphics\Icons\modern-install.ico"
|
||||
!define MUI_ICON "wraith-logo.ico"
|
||||
|
||||
!insertmacro MUI_PAGE_DIRECTORY
|
||||
!insertmacro MUI_PAGE_INSTFILES
|
||||
@ -330,11 +330,12 @@ jobs:
|
||||
File "wraith.exe"
|
||||
File "*.dll"
|
||||
File "version.json"
|
||||
File "wraith-logo.ico"
|
||||
|
||||
; Start Menu shortcut
|
||||
CreateDirectory "$SMPROGRAMS\Wraith"
|
||||
CreateShortcut "$SMPROGRAMS\Wraith\Wraith.lnk" "$INSTDIR\wraith.exe"
|
||||
CreateShortcut "$DESKTOP\Wraith.lnk" "$INSTDIR\wraith.exe"
|
||||
CreateShortcut "$SMPROGRAMS\Wraith\Wraith.lnk" "$INSTDIR\wraith.exe" "" "$INSTDIR\wraith-logo.ico"
|
||||
CreateShortcut "$DESKTOP\Wraith.lnk" "$INSTDIR\wraith.exe" "" "$INSTDIR\wraith-logo.ico"
|
||||
|
||||
; Uninstaller
|
||||
WriteUninstaller "$INSTDIR\uninstall.exe"
|
||||
@ -365,8 +366,9 @@ jobs:
|
||||
# Replace VERSION placeholder
|
||||
sed -i "s/\${VERSION}/${VERSION}/g" /tmp/wraith-installer.nsi
|
||||
|
||||
# Copy NSIS script into dist so File directives find the binaries
|
||||
# Copy NSIS script and icon into dist so File directives find them
|
||||
cp /tmp/wraith-installer.nsi dist/wraith-installer.nsi
|
||||
cp images/wraith-logo.ico dist/wraith-logo.ico
|
||||
cd dist
|
||||
makensis -DVERSION="${VERSION}" wraith-installer.nsi
|
||||
mv wraith-setup.exe ../wraith-${VERSION}-setup.exe
|
||||
|
||||
Loading…
Reference in New Issue
Block a user