Merge pull request #1589 from Vulpicula/patch-1
Fix openFile not working on Linux.
This commit is contained in:
@@ -298,7 +298,7 @@ class System
|
|||||||
#elseif mac
|
#elseif mac
|
||||||
Sys.command("/usr/bin/open", [path]);
|
Sys.command("/usr/bin/open", [path]);
|
||||||
#elseif linux
|
#elseif linux
|
||||||
Sys.command("/usr/bin/xdg-open", [path, "&"]);
|
Sys.command("/usr/bin/xdg-open", [path]);
|
||||||
#elseif (js && html5)
|
#elseif (js && html5)
|
||||||
Browser.window.open(path, "_blank");
|
Browser.window.open(path, "_blank");
|
||||||
#elseif flash
|
#elseif flash
|
||||||
|
|||||||
Reference in New Issue
Block a user