Skip to content

Commit

Permalink
also add desktop shortcut
Browse files Browse the repository at this point in the history
  • Loading branch information
moba committed Mar 18, 2015
1 parent 032511d commit 400dd62
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions torbrowser.nsi
Expand Up @@ -38,8 +38,8 @@
!define MUI_FINISHPAGE_RUN
!define MUI_FINISHPAGE_RUN_FUNCTION "StartTorBrowser"
!define MUI_FINISHPAGE_SHOWREADME ; misuse for option to create shortcut; less ugly than MUI_PAGE_COMPONENTS
!define MUI_FINISHPAGE_SHOWREADME_TEXT "Add start menu shortcut"
!define MUI_FINISHPAGE_SHOWREADME_FUNCTION "CreateStartMenuShortCut"
!define MUI_FINISHPAGE_SHOWREADME_TEXT "&Add Start Menu && Desktop shortcuts"
!define MUI_FINISHPAGE_SHOWREADME_FUNCTION "CreateShortCuts"
;--------------------------------
;Pages

Expand Down Expand Up @@ -134,10 +134,11 @@ Section "Tor Browser Bundle" SecTBB

SectionEnd

Function CreateStartMenuShortcut
Function CreateShortcuts

CreateShortCut "$SMPROGRAMS\Start Tor Browser.lnk" "$INSTDIR\Browser\firefox.exe"

CreateShortCut "$DESKTOP\Start Tor Browser.lnk" "$INSTDIR\Browser\firefox.exe"

FunctionEnd
;--------------------------------
;Installer Functions
Expand Down

0 comments on commit 400dd62

Please sign in to comment.