mirror of
https://github.com/fergalmoran/picard.git
synced 2026-01-01 06:09:22 +00:00
Fix the working directory for shortcuts created by the Windows installer
In NSIS the working directory for shortcuts is controlled by the SetOutPath variable, see http://nsis.sourceforge.net/Docs/Chapter4.html#createshortcut . In our case this caused the working directory to be set to the "locale" directory. Fixes [PICARD-649](http://tickets.musicbrainz.org/browse/PICARD-649)
This commit is contained in:
@@ -140,18 +140,21 @@ SubSection "Shortcuts" shortcuts
|
||||
|
||||
Section "Startmenu" startmenu
|
||||
SetShellVarContext all
|
||||
SetOutPath "$INSTDIR"
|
||||
CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}.lnk" "$INSTDIR\picard.exe" \
|
||||
"" "" "" SW_SHOWNORMAL "" "${PRODUCT_DESCRIPTION}"
|
||||
SectionEnd
|
||||
|
||||
Section "Desktop" desktop
|
||||
SetShellVarContext all
|
||||
SetOutPath "$INSTDIR"
|
||||
CreateShortCut "$DESKTOP\${PRODUCT_NAME}.lnk" "$INSTDIR\picard.exe" \
|
||||
"" "" "" SW_SHOWNORMAL "" "${PRODUCT_DESCRIPTION}"
|
||||
SectionEnd
|
||||
|
||||
Section "Quick Launch" quicklaunch
|
||||
SetShellVarContext all
|
||||
SetOutPath "$INSTDIR"
|
||||
CreateShortCut "$QUICKLAUNCH\${PRODUCT_NAME}.lnk" "$INSTDIR\picard.exe" \
|
||||
"" "" "" SW_SHOWNORMAL "" "${PRODUCT_DESCRIPTION}"
|
||||
SectionEnd
|
||||
|
||||
Reference in New Issue
Block a user