1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-11-17 04:12:57 +00:00

fixed URL thing for linux

This commit is contained in:
Cameron Taylor 2020-11-22 12:39:32 -08:00
parent cb0ebfdbe1
commit ebeba455d3

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
{ {