From 2cfb2c0b3bae0026c4be85f71c69a03dab11d751 Mon Sep 17 00:00:00 2001 From: Vantz Stockwell Date: Tue, 17 Mar 2026 10:51:06 -0400 Subject: [PATCH] fix: use wraith-logo.ico for installer icon and desktop shortcuts 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) --- .gitea/workflows/build-release.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/build-release.yml b/.gitea/workflows/build-release.yml index 5f2ed6b..3c2fd06 100644 --- a/.gitea/workflows/build-release.yml +++ b/.gitea/workflows/build-release.yml @@ -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