}
function loadApplicationPackage (packagePath) {
+ // Add a flag indicating app is started from default app.
+ process.defaultApp = true
+
try {
// Override app name and version.
packagePath = path.resolve(packagePath)
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`.
+* `process.defaultApp` Boolean - When app is started by being passed as parameter
+ to the default app, this value is `true` in the main process, otherwise it is
+ `undefined`.
## Events