How to get Photoshop OS info (Mac or Win) in UXP JavaScript?
I'm converting CEP/ExtendScript to UXP JavaScript.
Is there way to tell if the system is Mac or Win in UXP JavaScript?
OS info (Mac or Win) can be get as following in CEP environment.
// CEP JavaScript
var isMac = (navigator.platform == "MacIntel");
// ExtendScript
var isMac = (0 == $.os.indexOf("Mac"));
But I could not find on UXP JavaScript environment.
How can I get this info (Mac or Win) in UXP Scripting?
Note: I checked around API doc, global object and require('photoshop') objects, but I could not find.
