From 6f79dd445a862e9bc64a2cb125d76475cfedb88c Mon Sep 17 00:00:00 2001 From: Cameron Taylor <cameron.taylor.ninja@gmail.com> 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 {