squash warning in OSX build
This commit is contained in:
parent
f119c625bb
commit
0bc4a78db5
2 changed files with 3 additions and 3 deletions
|
@ -11,7 +11,6 @@ module Assistant.Install where
|
|||
|
||||
import Assistant.Common
|
||||
import Assistant.Install.AutoStart
|
||||
import Assistant.Install.Menu
|
||||
import Assistant.Ssh
|
||||
import Config.Files
|
||||
import Utility.FileMode
|
||||
|
@ -23,6 +22,7 @@ import Utility.Env
|
|||
import Utility.OSX
|
||||
#else
|
||||
import Utility.FreeDesktop
|
||||
import Assistant.Install.Menu
|
||||
#endif
|
||||
|
||||
standaloneAppBase :: IO (Maybe FilePath)
|
||||
|
|
|
@ -14,10 +14,10 @@ import Common
|
|||
import Utility.FreeDesktop
|
||||
|
||||
installMenu :: FilePath -> FilePath -> FilePath -> FilePath -> IO ()
|
||||
installMenu command menufile iconsrcdir icondir = do
|
||||
#ifdef darwin_HOST_OS
|
||||
return ()
|
||||
installMenu _command _menufile _iconsrcdir _icondir = return ()
|
||||
#else
|
||||
installMenu command menufile iconsrcdir icondir = do
|
||||
writeDesktopMenuFile (fdoDesktopMenu command) menufile
|
||||
installIcon (iconsrcdir </> "logo.svg") $
|
||||
iconFilePath (iconBaseName ++ ".svg") "scalable" icondir
|
||||
|
|
Loading…
Reference in a new issue