fix: use custom icon for Windows shortcuts instead of python.exe
Lint & Test / test (push) Successful in 10s
Lint & Test / test (push) Successful in 10s
This commit is contained in:
+4
-4
@@ -84,10 +84,10 @@ Section "!Core (required)" SecCore
|
|||||||
CreateDirectory "$SMPROGRAMS\${APPNAME}"
|
CreateDirectory "$SMPROGRAMS\${APPNAME}"
|
||||||
CreateShortcut "$SMPROGRAMS\${APPNAME}\${APPNAME}.lnk" \
|
CreateShortcut "$SMPROGRAMS\${APPNAME}\${APPNAME}.lnk" \
|
||||||
"wscript.exe" '"$INSTDIR\scripts\${VBSNAME}"' \
|
"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" \
|
CreateShortcut "$SMPROGRAMS\${APPNAME}\${APPNAME} (Console).lnk" \
|
||||||
"$INSTDIR\${EXENAME}" "" \
|
"$INSTDIR\${EXENAME}" "" \
|
||||||
"$INSTDIR\python\python.exe" 0
|
"$INSTDIR\app\media_server\static\icons\icon.ico" 0
|
||||||
CreateShortcut "$SMPROGRAMS\${APPNAME}\Uninstall.lnk" \
|
CreateShortcut "$SMPROGRAMS\${APPNAME}\Uninstall.lnk" \
|
||||||
"$INSTDIR\uninstall.exe"
|
"$INSTDIR\uninstall.exe"
|
||||||
|
|
||||||
@@ -117,14 +117,14 @@ SectionEnd
|
|||||||
Section "Desktop shortcut" SecDesktop
|
Section "Desktop shortcut" SecDesktop
|
||||||
CreateShortcut "$DESKTOP\${APPNAME}.lnk" \
|
CreateShortcut "$DESKTOP\${APPNAME}.lnk" \
|
||||||
"wscript.exe" '"$INSTDIR\scripts\${VBSNAME}"' \
|
"wscript.exe" '"$INSTDIR\scripts\${VBSNAME}"' \
|
||||||
"$INSTDIR\python\python.exe" 0
|
"$INSTDIR\app\media_server\static\icons\icon.ico" 0
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section "Start with Windows" SecAutostart
|
Section "Start with Windows" SecAutostart
|
||||||
; Create Startup folder shortcut (runs hidden via VBS)
|
; Create Startup folder shortcut (runs hidden via VBS)
|
||||||
CreateShortcut "$SMSTARTUP\${APPNAME}.lnk" \
|
CreateShortcut "$SMSTARTUP\${APPNAME}.lnk" \
|
||||||
"wscript.exe" '"$INSTDIR\scripts\${VBSNAME}"' \
|
"wscript.exe" '"$INSTDIR\scripts\${VBSNAME}"' \
|
||||||
"$INSTDIR\python\python.exe" 0
|
"$INSTDIR\app\media_server\static\icons\icon.ico" 0
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
; --- Section descriptions ---
|
; --- Section descriptions ---
|
||||||
|
|||||||
Reference in New Issue
Block a user