ifdef osx includes
This commit is contained in:
parent
e88e3ba85b
commit
2f86fdc36a
2 changed files with 7 additions and 2 deletions
|
@ -14,8 +14,12 @@ import Assistant.Install.AutoStart
|
|||
import Assistant.Ssh
|
||||
import Locations.UserConfig
|
||||
import Utility.FileMode
|
||||
import Utility.FreeDesktop
|
||||
|
||||
#ifdef darwin_HOST_OS
|
||||
import Utility.OSX
|
||||
#else
|
||||
import Utility.FreeDesktop
|
||||
#endif
|
||||
|
||||
import System.Posix.Env
|
||||
|
||||
|
|
|
@ -10,10 +10,11 @@
|
|||
module Assistant.Install.AutoStart where
|
||||
|
||||
import Utility.FreeDesktop
|
||||
#ifdef darwin_HOST_OS
|
||||
import Utility.OSX
|
||||
import Utility.Path
|
||||
|
||||
import System.Directory
|
||||
#endif
|
||||
|
||||
installAutoStart :: FilePath -> FilePath -> IO ()
|
||||
installAutoStart command file = do
|
||||
|
|
Loading…
Reference in a new issue