diff --git a/docker-builder-data/build/script/packet/synfigstudio-nsis.files/synfigstudio.nsi b/docker-builder-data/build/script/packet/synfigstudio-nsis.files/synfigstudio.nsi index b109cab..0763c0b 100644 --- a/docker-builder-data/build/script/packet/synfigstudio-nsis.files/synfigstudio.nsi +++ b/docker-builder-data/build/script/packet/synfigstudio-nsis.files/synfigstudio.nsi @@ -131,6 +131,15 @@ Section "Start Menu Shortcuts" CreateShortCut "$SMPROGRAMS\${PK_DIR_NAME}\${PK_NAME_FULL} (Debug Console).lnk" "$INSTDIR\${PK_EXECUTABLE}" "--console" "$INSTDIR\${PK_ICON}" 0 SectionEnd +Section "Desktop Icon" + SetRegView ${PK_ARCH} + + SetOutPath "$INSTDIR\bin" + + SetShellVarContext All + CreateShortCut "$DESKTOP\${PK_NAME_FULL}.lnk" "$INSTDIR\${PK_EXECUTABLE}" "" "$INSTDIR\${PK_ICON}" 0 +SectionEnd + ;-------------------------------- ; Uninstaller ;-------------------------------- @@ -159,6 +168,7 @@ Section "Uninstall" ; Remove shortcuts, if any SetShellVarContext All Delete "$SMPROGRAMS\${PK_NAME_FULL}\${PK_NAME_FULL}.lnk" + Delete "$DESKTOP\${PK_NAME_FULL}.lnk" Delete "$SMPROGRAMS\${PK_NAME_FULL}\Uninstall ${PK_NAME_FULL}.lnk" ; Remove directories used