Skip to content

Commit

Permalink
Update installer.nsi
Browse files Browse the repository at this point in the history
Fixed shortcuts to actually work.
  • Loading branch information
krisdb2009 committed Oct 8, 2019
1 parent e4285f6 commit 3f25835
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion SuperGrateInstaller/installer.nsi
Expand Up @@ -22,7 +22,6 @@ VIProductVersion "${VERSION}"
!define MUI_WELCOMEPAGE_TEXT "${NAME} setup will guide you through the installation process.$\r$\n$\r$\n$\r$\nPress Next to continue."
!define MUI_FINISHPAGE_NOAUTOCLOSE
!define MUI_UNFINISHPAGE_NOAUTOCLOSE
!define MUI_FINISHPAGE_RUN "$INSTDIR\SuperGrate.exe"
!define MUI_FINISHPAGE_LINK "Super Grate - GitHub"
!define MUI_FINISHPAGE_LINK_LOCATION "https://github.com/belowaverage-org/SuperGrate"

Expand Down Expand Up @@ -84,6 +83,7 @@ SectionEnd

Section "Shortcut - Start Menu" SMSC

SetOutPath "$INSTDIR"
CreateDirectory "$SMPROGRAMS\Super Suite"
CreateShortcut "$SMPROGRAMS\Super Suite\Super Grate.lnk" "$INSTDIR\SuperGrate.exe"

Expand All @@ -93,6 +93,7 @@ SectionEnd

Section /o "Shortcut - Desktop" DTSC

SetOutPath "$INSTDIR"
CreateShortcut "$DESKTOP\Super Grate.lnk" "$INSTDIR\SuperGrate.exe"

SectionEnd
Expand Down

0 comments on commit 3f25835

Please sign in to comment.