This commit is contained in:
parent
587fe27951
commit
5457303c1c
1 changed files with 19 additions and 0 deletions
|
@ -0,0 +1,19 @@
|
|||
Utility/WebApp.hs, didn't quite have the right definition to use 'open' instead of 'xdg-open' on OSX, the follow fixes that
|
||||
|
||||
<pre>
|
||||
diff --git a/Utility/WebApp.hs b/Utility/WebApp.hs
|
||||
index 6936c66..0593dda 100644
|
||||
--- a/Utility/WebApp.hs
|
||||
+++ b/Utility/WebApp.hs
|
||||
@@ -42,7 +42,7 @@ localhost = "localhost"
|
||||
runBrowser :: String -> IO Bool
|
||||
runBrowser url = boolSystem cmd [Param url]
|
||||
where
|
||||
-#if MAC
|
||||
+#if OSX
|
||||
cmd = "open"
|
||||
#else
|
||||
cmd = "xdg-open"
|
||||
</pre>
|
||||
|
||||
I guess I should really for the repo and submit a stream of minor changes :P, @joeyh please let me know if you're getting annoyed with copy and pasting the small fixes from the bug/forums section.
|
Loading…
Reference in a new issue