fixed paths, now working standalone...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2013-07-14 21:46:55 +04:00
parent 813226e6f3
commit 81099daee8
3 changed files with 5 additions and 3 deletions

View File

@ -97,7 +97,7 @@ zip: $(APP_ZIP)
node-deps:
npm install fs.extra
npm install exif
# npm install exif
dev: $(CSS_FILES)
unzip -uj $(wildcard targets/node-webkit/node-webkit-*-win-ia32.zip) -d .

View File

@ -51,7 +51,7 @@ if(window.CEF_dumpJSON != null){
.normalize(p.replace(/file:\/\/\//, ''))
}
window.execPathPush = function(p){
process.env.PATH += ';' + path.normalize(process.cwd() + '/' + p)
process.env.PATH += ';' + path.normalize(path.dirname(process.execPath) + '/' + p)
}

View File

@ -1203,7 +1203,9 @@ function getWorkerQueue(name, no_auto_start){
// kill all worker queues...
function killAllWorkers(){
for(var k in WORKERS){
console.log('Worker: Stopping:', k)
if(WORKERS[k].isWorking()){
console.log('Worker: Stopped:', k)
}
WORKERS[k].kill()
}
WORKERS = {}