Fix "Invalid argument '&'" error

This commit is contained in:
NotHyper-474 2024-05-12 23:16:12 -03:00
parent a6948c3a38
commit 0322a83882

View file

@ -24,7 +24,7 @@ class WindowUtil
{
#if CAN_OPEN_LINKS
#if linux
Sys.command('/usr/bin/xdg-open', [targetUrl, '&']);
Sys.command('/usr/bin/xdg-open ' + targetUrl + ' &');
#else
// This should work on Windows and HTML5.
FlxG.openURL(targetUrl);