Closed
Bug 738898
Opened 12 years ago
Closed 12 years ago
Expose OS name in xul-app
Categories
(Add-on SDK Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: nigelb, Unassigned)
Details
We don't expose a way to find the OS through SDK yet and I have to do Cc["@mozilla.org/xre/app-info;1"].getService(Ci.nsIXULRuntime).OS; to find the operating system.
Comment 1•12 years ago
|
||
In fact we expose this property try require('api-utils/system').platform that does that.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•