Merge pull request #5250 from electron/felix/camelCase

Windows Store Camels
This commit is contained in:
Cheng Zhao 2016-04-22 11:23:15 +09:00
commit 394ffa88dd
2 changed files with 2 additions and 2 deletions

View file

@ -10,7 +10,7 @@ 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
* `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

View file

@ -51,5 +51,5 @@ if (process.type === 'browser') {
// Nobody else get's to install there, changing the path is forbidden
// We can therefore say that we're running as appx
if (process.platform === 'win32' && __dirname.indexOf('\\Program Files\\WindowsApps\\') === 2) {
process.windowsstore = true
process.windowsStore = true
}