|
|
|
@ -10,7 +10,6 @@ const getProjectRoot = require("./get-project-root");
|
|
|
|
|
|
|
|
|
|
module.exports = function(options = {}) {
|
|
|
|
|
let electronLogger = namedLog("electron");
|
|
|
|
|
let processArguments = [projectRoot];
|
|
|
|
|
|
|
|
|
|
let environmentVariables = xtend(process.env, {
|
|
|
|
|
NODE_ENV: "development"
|
|
|
|
@ -24,6 +23,8 @@ module.exports = function(options = {}) {
|
|
|
|
|
return getProjectRoot();
|
|
|
|
|
}, {evaluate: true});
|
|
|
|
|
|
|
|
|
|
let processArguments = [projectRoot];
|
|
|
|
|
|
|
|
|
|
if (options.arguments != null && Array.isArray(options.arguments)) {
|
|
|
|
|
processArguments = options.arguments.concat(processArguments);
|
|
|
|
|
}
|
|
|
|
|