From c0f63eed4eaf3134e55c6b1cf75050e0ca5a9fe2 Mon Sep 17 00:00:00 2001 From: Felix Rieseberg Date: Thu, 21 Apr 2016 19:11:25 -0700 Subject: [PATCH] :art: Windows Store Camels --- docs/api/process.md | 2 +- lib/common/init.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api/process.md b/docs/api/process.md index c5506f7e25b7..b2d9c765a03a 100644 --- a/docs/api/process.md +++ b/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 diff --git a/lib/common/init.js b/lib/common/init.js index 8790320376d2..11c098d3ce5c 100644 --- a/lib/common/init.js +++ b/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 }