mirror of
https://github.com/glest/glest-source.git
synced 2025-08-20 07:01:21 +02:00
W32: Make NSIS created data folder shortcut work as expected - thanks 'case' / jmh @ landoleet
This commit is contained in:
@@ -280,6 +280,7 @@ SectionEnd
|
||||
Section "Start Menu Shortcuts"
|
||||
|
||||
CreateDirectory "$SMPROGRAMS\${APNAME}"
|
||||
CreateDirectory "$APPDATA\megaglest"
|
||||
CreateShortCut "$SMPROGRAMS\${APNAME}\Uninstall.lnk" "$INSTDIR\uninstall.exe" "" "$INSTDIR\uninstall.exe" 0
|
||||
CreateShortCut "$SMPROGRAMS\${APNAME}\${APNAME}.lnk" "$INSTDIR\megaglest.exe" "" "$INSTDIR\megaglest.exe" 0 "" "" "${APNAME}"
|
||||
|
||||
|
@@ -195,6 +195,7 @@ Section "Start Menu Shortcuts"
|
||||
Delete "$SMPROGRAMS\${APNAME}\*.*"
|
||||
|
||||
CreateDirectory "$SMPROGRAMS\${APNAME}"
|
||||
CreateDirectory "$APPDATA\megaglest"
|
||||
CreateShortCut "$SMPROGRAMS\${APNAME}\Uninstall.lnk" "$INSTDIR\uninstall.exe" "" "$INSTDIR\uninstall.exe" 0
|
||||
CreateShortCut "$SMPROGRAMS\${APNAME}\${APNAME}.lnk" "$INSTDIR\megaglest.exe" "" "$INSTDIR\megaglest.exe" 0 "" "" "${APNAME}"
|
||||
|
||||
|
Reference in New Issue
Block a user