import Distribution.MacOSX import Distribution.Simple main :: IO () main = defaultMainWithHooks $ simpleUserHooks { postBuild = appBundleBuildHook guiApps -- no-op if not MacOS X } guiApps :: [MacApp] guiApps = [MacApp "jsaddle-hello-wkwebview" Nothing (Just "macos/Info.plist") [] -- No other resources. [] -- No other binaries. DoNotChase -- Try changing to ChaseWithDefaults ]