mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2026-04-26 20:51:38 +00:00
platform update
This commit is contained in:
parent
122b3aa2bc
commit
67c206e339
1 changed files with 1 additions and 10 deletions
11
src/Util.hx
11
src/Util.hx
|
|
@ -447,15 +447,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