fix build on OSX
This commit is contained in:
parent
c6604406b9
commit
278c672141
1 changed files with 2 additions and 1 deletions
|
@ -15,12 +15,13 @@ import Utility.FreeDesktop
|
|||
import Utility.OSX
|
||||
import Utility.Path
|
||||
import Utility.Directory
|
||||
import Utility.FileSystemEncoding
|
||||
#endif
|
||||
|
||||
installAutoStart :: FilePath -> FilePath -> IO ()
|
||||
installAutoStart command file = do
|
||||
#ifdef darwin_HOST_OS
|
||||
createDirectoryIfMissing True (parentDir file)
|
||||
createDirectoryIfMissing True (fromRawFilePath (parentDir file))
|
||||
writeFile file $ genOSXAutoStartFile osxAutoStartLabel command
|
||||
["assistant", "--autostart"]
|
||||
#else
|
||||
|
|
Loading…
Reference in a new issue