fix build on OSX more
This commit is contained in:
parent
adcf95f3f2
commit
326587a7d1
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ import Utility.FileSystemEncoding
|
||||||
installAutoStart :: FilePath -> FilePath -> IO ()
|
installAutoStart :: FilePath -> FilePath -> IO ()
|
||||||
installAutoStart command file = do
|
installAutoStart command file = do
|
||||||
#ifdef darwin_HOST_OS
|
#ifdef darwin_HOST_OS
|
||||||
createDirectoryIfMissing True (fromRawFilePath (parentDir file))
|
createDirectoryIfMissing True (fromRawFilePath (parentDir (toRawFilePath file)))
|
||||||
writeFile file $ genOSXAutoStartFile osxAutoStartLabel command
|
writeFile file $ genOSXAutoStartFile osxAutoStartLabel command
|
||||||
["assistant", "--autostart"]
|
["assistant", "--autostart"]
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue