From 278c672141d54116868c18443d71f093f84d0110 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 10 Nov 2020 11:16:39 -0400 Subject: [PATCH] fix build on OSX --- Assistant/Install/AutoStart.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Assistant/Install/AutoStart.hs b/Assistant/Install/AutoStart.hs index 78b9e3c1be..29b110b711 100644 --- a/Assistant/Install/AutoStart.hs +++ b/Assistant/Install/AutoStart.hs @@ -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