Install FDO desktop menu file when webapp is started in standalone mode.
This commit is contained in:
parent
0d723e736e
commit
d2e92e2494
3 changed files with 4 additions and 18 deletions
|
@ -11,6 +11,7 @@ module Assistant.Install where
|
|||
|
||||
import Assistant.Common
|
||||
import Assistant.Install.AutoStart
|
||||
import Assistant.Install.Menu
|
||||
import Assistant.Ssh
|
||||
import Locations.UserConfig
|
||||
import Utility.FileMode
|
||||
|
@ -49,6 +50,8 @@ ensureInstalled = go =<< standaloneAppBase
|
|||
#ifdef darwin_HOST_OS
|
||||
autostartfile <- userAutoStart osxAutoStartLabel
|
||||
#else
|
||||
installMenu program
|
||||
=<< desktopMenuFilePath "git-annex" <$> userConfigDir
|
||||
autostartfile <- autoStartPath "git-annex" <$> userConfigDir
|
||||
#endif
|
||||
installAutoStart program autostartfile
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue