-
Notifications
You must be signed in to change notification settings - Fork 23
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
implement OperatingSystem #51
Comments
clarification see Implementation Of OperatingSystem - Advanced we want to be able to know everything about the OS if( OperatingSystem.vendor == "Linux" )
{
if( OperatingSystem.vendorName == "Ubuntu" )
{
var version:String = OperatingSystem.vendorVersion;
if( version.indexOf( "12.04" ) > 0 ||
version.indexOf( "14.04" ) > 0 ||
version.indexOf( "16.04" ) > 0 )
{
trace( "is LTS - Long Term Support" );
}
}
} see the different description and example of name, version, vendor, vendorName, vendorVersion, etc. |
before we implemented |
for now we re-implemented all that we needed using basic parsing
It is good enough for now, because we have the "luxury" At a later time we will implement |
also at a later time it would be nice to be able to load a cached version of the OS detection for example, the first time the detection occurs we could os _macintoshName = "Mac OS X 10.10";
_macintoshVersion = "10.10";
_macintoshProductName = "Mac OS X";
_macintoshProductBuildVersion = "14F27";
_macintoshProductVersion = "10.10.5";
_macintoshProductUserVisibleVersion = "10.10.5";
_macintoshProductDescription = "Apple Mac OS X 10.10.5";
_macintoshLongDescription = "Apple Mac OS X 10.10.5 (Yosemite build 14F27)";
_macintoshCodename = "Yosemite"; so next item a detection need to happen we could simply load the data from cache |
when we updated from redtamarin 0.3.2 to 0.4
OperatingSystem
got very summarily implementedwe need to upgrade it
The text was updated successfully, but these errors were encountered: