open-browser 0.1.3.0 → 0.1.4.0
raw patch · 2 files changed
+3/−3 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- lib/Web/Browser/Linux.hs +1/−1
- open-browser.cabal +2/−2
lib/Web/Browser/Linux.hs view
@@ -7,6 +7,6 @@ openBrowserLinux :: String -> IO Bool openBrowserLinux url = exitCodeToBool `fmap` rawSystem executable argv- where (executable, argv) = ("xdg-open", [url])+ where (executable, argv) = ("sh", ["-c", "xdg-open \"$0\" 2>&1 > /dev/null", url]) exitCodeToBool ExitSuccess = True exitCodeToBool (ExitFailure _) = False
open-browser.cabal view
@@ -1,5 +1,5 @@ name: open-browser-version: 0.1.3.0+version: 0.1.4.0 synopsis: Open a web browser from Haskell. description: Open a web browser from Haskell. Currently BSD, Linux, OS X and Windows are supported.@@ -8,7 +8,7 @@ author: rightfold maintainer: rightfold@gmail.com bug-reports: https://github.com/rightfold/open-browser/issues-category: Network+category: Web build-type: Simple cabal-version: >=1.10