clean up from windows porting
This commit is contained in:
parent
d6bf05a66d
commit
18bdff3fae
28 changed files with 57 additions and 72 deletions
|
@ -158,7 +158,11 @@ firstRun listenhost = do
|
|||
sendurlback v _origout _origerr url _htmlshim = putMVar v url
|
||||
|
||||
openBrowser :: Maybe FilePath -> FilePath -> String -> Maybe Handle -> Maybe Handle -> IO ()
|
||||
#ifdef __ANDROID__
|
||||
openBrowser mcmd htmlshim realurl outh errh = do
|
||||
#else
|
||||
openBrowser mcmd htmlshim _realurl outh errh = do
|
||||
#endif
|
||||
hPutStrLn (fromMaybe stdout outh) $ "Launching web browser on " ++ url
|
||||
hFlush stdout
|
||||
environ <- cleanEnvironment
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue