Commit c646e985 authored by Andrew Cohen's avatar Andrew Cohen

electron builder support

parent c9ff9aa5
......@@ -38,3 +38,4 @@ bin/*
/lever.state
/matlab/buildOutput/*
*.asv
dist/*
......@@ -429,7 +429,7 @@ function startTrackandAnalyzeProcesses()
var packagePath=path.join(__dirname,'..','package.json');
var packageInfo = JSON.parse(fs.readFileSync(packagePath, 'utf8'));
if (0 || true===packageInfo.noLaunch)
if (0 || true===packageInfo.noLaunchMATLAB)
console.log('NOT LAUNCHING MATLAB -- START YER OWN!');
else
launchMatlab();
......
......@@ -4,9 +4,10 @@
"description": "live cell & organelle image analysis",
"main": "server.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node_modules/.bin/electron ./eLever/main.js",
"postinstall": "electron-builder install-app-deps"
"postinstall": "electron-builder install-app-deps",
"pack": "electron-builder --dir",
"dist": "electron-builder"
},
"author": "andrew r. cohen, mark winter, edgar cardenas",
"license": "UNLICENSED",
......@@ -22,5 +23,10 @@
"electron-builder": "^19.32.2",
"sqlite3": "^3.1.13"
},
"noLaunch":false
"build": {
"files":{
"filter": ["**/*", "!bin/*","!prebuilt/matlabPollDB","!matlab/*"]
}
},
"noLaunchMATLAB":false
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment