pitaya-launcher/js/store/reducers/process-opts.js

9 lines
177 B
JavaScript

var minimist = require('minimist');
var gui = global.window.require('nw.gui');
var opts = minimist(gui.App.argv);
module.exports = function(state, action) {
return opts;
};