mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 18:30:09 +00:00
tweaking nw build...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
a337fd5861
commit
5f9213462c
@ -646,7 +646,9 @@ $(TARGET_DIR)/$(NW_DIST):
|
|||||||
|
|
||||||
|
|
||||||
# NOTE: this needs a clean app dir...
|
# 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
|
.PRECIOUS: $(BUILD_DIR)/package.nw
|
||||||
$(BUILD_DIR)/package.nw: INCLUDE_NODE_MODULES += $(INCLUDE_NW_NODE_MODULES)
|
$(BUILD_DIR)/package.nw: INCLUDE_NODE_MODULES += $(INCLUDE_NW_NODE_MODULES)
|
||||||
$(BUILD_DIR)/package.nw: PACK_MINIMAL = $(BUILD_DIR)/$(APP_NAME)/ \
|
$(BUILD_DIR)/package.nw: PACK_MINIMAL = $(BUILD_DIR)/$(APP_NAME)/ \
|
||||||
|
|||||||
@ -13,6 +13,7 @@ if((typeof(process) != 'undefined' ? process : {}).__nwjs){
|
|||||||
var path = require('path')
|
var path = require('path')
|
||||||
require('app-module-path')
|
require('app-module-path')
|
||||||
.addPath(path.dirname(process.execPath) + '/node_modules/')
|
.addPath(path.dirname(process.execPath) + '/node_modules/')
|
||||||
|
console.log('!!!!!!!')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user