🎨 Windows Store Camels
This commit is contained in:
parent
bb2cab2858
commit
c0f63eed4e
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue