fixed URL thing for linux

This commit is contained in:
Cameron Taylor 2020-11-22 12:39:32 -08:00
parent cb0ebfdbe1
commit ebeba455d3
1 changed files with 7 additions and 0 deletions

View File

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