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

9 lines
177 B
JavaScript
Raw Normal View History

2015-09-03 15:50:23 +02:00
var minimist = require('minimist');
var gui = global.window.require('nw.gui');
var opts = minimist(gui.App.argv);
module.exports = function(state, action) {
return opts;
};