mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2026-04-27 13:11:42 +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() {
|
public static function getPlatform() {
|
||||||
#if js
|
return "Android";
|
||||||
return js.Browser.navigator.platform;
|
|
||||||
#end
|
|
||||||
#if hl
|
|
||||||
#if MACOS_BUNDLE
|
|
||||||
return "MacOS";
|
|
||||||
#else
|
|
||||||
return "Windows";
|
|
||||||
#end
|
|
||||||
#end
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue