diff --git a/source/MusicBeatState.hx b/source/MusicBeatState.hx index 65b2f7c..d98bd64 100644 --- a/source/MusicBeatState.hx +++ b/source/MusicBeatState.hx @@ -111,4 +111,13 @@ class MusicBeatState extends FlxUIState { //do literally nothing dumbass } + + public function fancyOpenURL(schmancy:String) + { + #if linux + Sys.command('/usr/bin/xdg-open', [schmancy, "&"]); + #else + FlxG.openURL(schmancy); + #end + } }