Skip to content

Commit

Permalink
CoolUtil openURL fix for Linux users (#378)
Browse files Browse the repository at this point in the history
  • Loading branch information
FourLion4L authored Sep 6, 2024
1 parent 48758c8 commit 16fa304
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/funkin/backend/utils/CoolUtil.hx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -874,4 +874,4 @@ enum abstract CoolSfx(Int) from Int {
var CHECKED = 3;
var UNCHECKED = 4;
var WARNING = 5;
}
}

0 comments on commit 16fa304

Please sign in to comment.