From ebeba455d305cedd13c11abe8b4028b99026a0fa Mon Sep 17 00:00:00 2001 From: Cameron Taylor Date: Sun, 22 Nov 2020 12:39:32 -0800 Subject: [PATCH] fixed URL thing for linux --- source/MainMenuState.hx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/source/MainMenuState.hx b/source/MainMenuState.hx index 305508b4f..d4db472ee 100644 --- a/source/MainMenuState.hx +++ b/source/MainMenuState.hx @@ -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 {