try to make a start menu shortcut
This commit is contained in:
parent
a00c1570e8
commit
1d0f77fca2
1 changed files with 11 additions and 0 deletions
|
@ -95,6 +95,17 @@ makeInstaller gitannex license extrafiles = nsis $ do
|
|||
page Directory -- Pick where to install
|
||||
page (License license)
|
||||
page InstFiles -- Give a progress bar while installing
|
||||
-- Start menu shortcut
|
||||
createDirectory "$SMPROGRAMS"
|
||||
createShortcut "$SMPROGRAMS/git-annex.lnk"
|
||||
[ Target "$INSTDIR/git-annex.exe"
|
||||
, Parameter "webapp"
|
||||
, IconFile "$INSTDIR/git-annex.exe"
|
||||
, IconIndex 2
|
||||
, StartOptions "SW_SHOWNORMAL"
|
||||
, KeyboardShortcut "ALT|CONTROL|a"
|
||||
, Description "git-annex"
|
||||
]
|
||||
-- Groups of files to install
|
||||
section "main" [] $ do
|
||||
setOutPath "$INSTDIR"
|
||||
|
|
Loading…
Reference in a new issue