ee-bin 4.1.6-beta.1 → 4.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +3 -0
- package/lib/utils.js +1 -1
- package/package.json +1 -1
- package/tools/serve.js +1 -1
package/index.js
CHANGED
|
@@ -97,6 +97,9 @@ program
|
|
|
97
97
|
.description('Generate logo')
|
|
98
98
|
.option('-i, --input <file>', 'image file default /public/images/logo.png')
|
|
99
99
|
.option('-o, --output <folder>', 'output directory default /build/icons/')
|
|
100
|
+
.option('-s, --size <flag>', 'generate size default 16,32,64,256,512')
|
|
101
|
+
.option('-c, --clear', 'clear output directory first')
|
|
102
|
+
.option('-img, --images <flag>', 'Win window icon/tray image generation path default /public/images/')
|
|
100
103
|
.action(function() {
|
|
101
104
|
const iconGen = require('./tools/iconGen');
|
|
102
105
|
iconGen.run();
|
package/lib/utils.js
CHANGED
package/package.json
CHANGED
package/tools/serve.js
CHANGED
|
@@ -91,7 +91,7 @@ class ServeProcess {
|
|
|
91
91
|
const electronConfig = binCmdConfig.electron;
|
|
92
92
|
|
|
93
93
|
// Debugging source code
|
|
94
|
-
const debugging = getArgumentByName(electronConfig.args
|
|
94
|
+
const debugging = getArgumentByName('debuger', electronConfig.args) == 'true'? true : false;
|
|
95
95
|
this._switchPkgMain(debugging);
|
|
96
96
|
|
|
97
97
|
// watche electron main code
|