From 16fa3046e2ad69164e7ee2c0ef0826884a54dbe2 Mon Sep 17 00:00:00 2001 From: FourLion4L <109489041+FourLion4L@users.noreply.github.com> Date: Fri, 6 Sep 2024 13:48:32 +0300 Subject: [PATCH] CoolUtil openURL fix for Linux users (#378) --- source/funkin/backend/utils/CoolUtil.hx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/funkin/backend/utils/CoolUtil.hx b/source/funkin/backend/utils/CoolUtil.hx index e624a566..70feb55f 100644 --- a/source/funkin/backend/utils/CoolUtil.hx +++ b/source/funkin/backend/utils/CoolUtil.hx @@ -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; -} \ No newline at end of file +}