mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2025-10-30 08:11:25 +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() {
|
||||
#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