tweaks...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2020-08-27 17:09:04 +03:00
parent 68dd2b2c67
commit 7f6d8a89cc
2 changed files with 12 additions and 1 deletions

View File

@ -9,7 +9,7 @@
# - git
# - nodejs / npm
# also nodejs-legacy seems to be required by some code...
# - npm i -g electron electron-rebuild asar less
# - npm i -g electron electron-rebuild asar less (optional)
# - wget
# - zip / unzip / zipnote
# if zipnote fails this is likely due to a bug in
@ -119,6 +119,9 @@
SHELL := $(shell which bash)
# set path to use local tools...
export PATH := $(shell pwd)/node_modules/.bin/:$(PATH)
# variables...

View File

@ -16,6 +16,8 @@ var path = require('path')
var url = require('url')
//var fs = require('fs')
var argv = require('ig-argv')
var VERSION = require('./version').version
@ -30,6 +32,12 @@ var VERSION = require('./version').version
/*********************************************************************/
// XXX process args...
// ...might be a good idea to process args in two stages:
// 1) process pre-start args:
// splash screen opts
// debug stuff (dev tools etc)
// start mode (ui vs cli ...)
// 2) process the rest of the args within the started context...