Add Windows Store Detection

If we're running as a Windows Store appx package,
`process.windowsstore` will be `true`, otherwise
`undefined`.
This commit is contained in:
Felix Rieseberg 2016-04-20 23:55:56 -07:00
parent aa29dc0c8a
commit 2a2a8d3263
2 changed files with 11 additions and 0 deletions

View file

@ -10,6 +10,8 @@ upstream node:
* `process.resourcesPath` String - Path to JavaScript source code.
* `process.mas` Boolean - For Mac App Store build, this value is `true`, for
other builds it is `undefined`.
* `process.windowsstore` Boolean - If the app is running as a Windows Store app (appx), this value is `true`, for
other builds it is `undefined`.
## Events