1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-12-25 06:36:43 +00:00

fixed URL thing for linux

This commit is contained in:
Cameron Taylor 2020-11-22 12:39:32 -08:00
parent 3529fbd25f
commit 6f79dd445a

View file

@ -109,7 +109,14 @@ class MainMenuState extends MusicBeatState
{ {
if (optionShit[curSelected] == 'donate') if (optionShit[curSelected] == 'donate')
{ {
#if linux
Sys.command('/usr/bin/xdg-open", [url, "&"]);
#else
FlxG.openURL('https://ninja-muffin24.itch.io/funkin'); FlxG.openURL('https://ninja-muffin24.itch.io/funkin');
#end
} }
else else
{ {