make the standalone OSX app automatically install itself when run
This commit is contained in:
parent
521b64f7ee
commit
3da78cc241
6 changed files with 117 additions and 42 deletions
2
Setup.hs
2
Setup.hs
|
@ -58,6 +58,6 @@ installManpages copyDest verbosity pkg lbi =
|
|||
|
||||
installDesktopFile :: CopyDest -> Verbosity -> PackageDescription -> LocalBuildInfo -> IO ()
|
||||
installDesktopFile copyDest verbosity pkg lbi =
|
||||
InstallDesktopFile.writeDesktop $ dstBinDir </> "git-annex"
|
||||
InstallDesktopFile.install $ dstBinDir </> "git-annex"
|
||||
where
|
||||
dstBinDir = bindir $ absoluteInstallDirs pkg lbi copyDest
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue