diff --git a/ui (gen4)/Makefile b/ui (gen4)/Makefile index ac9a7390..228f9e93 100755 --- a/ui (gen4)/Makefile +++ b/ui (gen4)/Makefile @@ -646,7 +646,9 @@ $(TARGET_DIR)/$(NW_DIST): # NOTE: this needs a clean app dir... -# XXX this is not runnable yet... +# XXX BUG: can't find modules in unpacked node_modules... +# XXX for some reason if $(BUILD_DIR)/$(APP_NAME) exists package.josn +# is zero length... .PRECIOUS: $(BUILD_DIR)/package.nw $(BUILD_DIR)/package.nw: INCLUDE_NODE_MODULES += $(INCLUDE_NW_NODE_MODULES) $(BUILD_DIR)/package.nw: PACK_MINIMAL = $(BUILD_DIR)/$(APP_NAME)/ \ diff --git a/ui (gen4)/ui.js b/ui (gen4)/ui.js index 96110530..b2079fbb 100755 --- a/ui (gen4)/ui.js +++ b/ui (gen4)/ui.js @@ -13,6 +13,7 @@ if((typeof(process) != 'undefined' ? process : {}).__nwjs){ var path = require('path') require('app-module-path') .addPath(path.dirname(process.execPath) + '/node_modules/') + console.log('!!!!!!!') }