-
Notifications
You must be signed in to change notification settings - Fork 231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mobile.as does not include isWindows #226
Comments
Yes, this class definitely need some refactoring ;) |
Hey Aymeric, wonder if you get email notifications for these comments.. I wanted to try and help you guys out, LINK includes: ( Platform.as + swf + exe + apk + ipa + air ) |
I can confirm: Seems to be querying accurately, but I guess technically every combination will need testing. |
Hey @SnkyGames I pushed your class ;) |
Updated Platform.as ( 08 nov ):
|
Patched again: ( 09 nov 00:37am ): *example usage: Please patch utils\Platform.as with this updated one: |
static public function isWindows():Boolean {
return ( Capabilities.version.substr(0, 3) == "WIN" );
}
I assume this is a better place to post these sorts of things? I know technically it doesn't make sense that there would be a MOBILE.windows, but ah, I'm over it, this is where I'm placing the function for laziness. But then I guess Mobile.as could be renamed to Device or something and it would all make sense again hoorah!
The text was updated successfully, but these errors were encountered: