mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2026-02-20 05:01:05 +00:00
platform update
This commit is contained in:
parent
76bb0b3290
commit
3e9d8fa56c
1 changed files with 1 additions and 10 deletions
11
src/Util.hx
11
src/Util.hx
|
|
@ -442,15 +442,6 @@ class Util {
|
|||
}
|
||||
|
||||
public static function getPlatform() {
|
||||
#if js
|
||||
return js.Browser.navigator.platform;
|
||||
#end
|
||||
#if hl
|
||||
#if MACOS_BUNDLE
|
||||
return "MacOS";
|
||||
#else
|
||||
return "Windows";
|
||||
#end
|
||||
#end
|
||||
return "Android";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue