Skip to content

Commit

Permalink
fixed URL thing for linux
Browse files Browse the repository at this point in the history
  • Loading branch information
ninjamuffin99 committed Nov 22, 2020
1 parent cb0ebfd commit ebeba45
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions source/MainMenuState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down

0 comments on commit ebeba45

Please sign in to comment.