From 5e5e5036c0deba07a7c3817dffe10ae3c754f8bf Mon Sep 17 00:00:00 2001 From: "alexei.dolgolyov" Date: Sat, 28 Mar 2026 18:36:53 +0300 Subject: [PATCH] fix: use custom icon for Windows shortcuts instead of python.exe --- installer.nsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/installer.nsi b/installer.nsi index b8c1b81..e7a9229 100644 --- a/installer.nsi +++ b/installer.nsi @@ -84,10 +84,10 @@ Section "!Core (required)" SecCore CreateDirectory "$SMPROGRAMS\${APPNAME}" CreateShortcut "$SMPROGRAMS\${APPNAME}\${APPNAME}.lnk" \ "wscript.exe" '"$INSTDIR\scripts\${VBSNAME}"' \ - "$INSTDIR\python\python.exe" 0 + "$INSTDIR\app\media_server\static\icons\icon.ico" 0 CreateShortcut "$SMPROGRAMS\${APPNAME}\${APPNAME} (Console).lnk" \ "$INSTDIR\${EXENAME}" "" \ - "$INSTDIR\python\python.exe" 0 + "$INSTDIR\app\media_server\static\icons\icon.ico" 0 CreateShortcut "$SMPROGRAMS\${APPNAME}\Uninstall.lnk" \ "$INSTDIR\uninstall.exe" @@ -117,14 +117,14 @@ SectionEnd Section "Desktop shortcut" SecDesktop CreateShortcut "$DESKTOP\${APPNAME}.lnk" \ "wscript.exe" '"$INSTDIR\scripts\${VBSNAME}"' \ - "$INSTDIR\python\python.exe" 0 + "$INSTDIR\app\media_server\static\icons\icon.ico" 0 SectionEnd Section "Start with Windows" SecAutostart ; Create Startup folder shortcut (runs hidden via VBS) CreateShortcut "$SMSTARTUP\${APPNAME}.lnk" \ "wscript.exe" '"$INSTDIR\scripts\${VBSNAME}"' \ - "$INSTDIR\python\python.exe" 0 + "$INSTDIR\app\media_server\static\icons\icon.ico" 0 SectionEnd ; --- Section descriptions ---