CoolUtil openURL fix for Linux users (#378)
This commit is contained in:
@@ -706,7 +706,7 @@ class CoolUtil
|
||||
*/
|
||||
@:noUsing public static inline function openURL(url:String) {
|
||||
#if linux
|
||||
Sys.command('/usr/bin/xdg-open', [url, "&"]);
|
||||
Sys.command('/usr/bin/xdg-open', [url]);
|
||||
#else
|
||||
FlxG.openURL(url);
|
||||
#end
|
||||
@@ -874,4 +874,4 @@ enum abstract CoolSfx(Int) from Int {
|
||||
var CHECKED = 3;
|
||||
var UNCHECKED = 4;
|
||||
var WARNING = 5;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user