Browse Source

:art: Windows Store Camels

Felix Rieseberg 9 years ago
parent
commit
c0f63eed4e
2 changed files with 2 additions and 2 deletions
  1. 1 1
      docs/api/process.md
  2. 1 1
      lib/common/init.js

+ 1 - 1
docs/api/process.md

@@ -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

+ 1 - 1
lib/common/init.js

@@ -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
 }