diff --git a/src/index.ejs b/src/index.ejs index 5515ae4..66bd209 100644 --- a/src/index.ejs +++ b/src/index.ejs @@ -21,11 +21,11 @@ diff --git a/src/main/index.js b/src/main/index.js index b243b75..e4662a2 100644 --- a/src/main/index.js +++ b/src/main/index.js @@ -15,7 +15,6 @@ const { autoUpdater } = require("electron-updater"); var gexpProc ; - ipcMain.on('ComplieContract', (event , sourceCode) => { // var source = 'contract myFirstContract { function g() {} }' // Setting 1 as second paramateractivates the optimiser @@ -79,13 +78,9 @@ function createWindow () { app.on('ready', createWindow) -app.on('window-all-closed', (event) => { - event.preventDefault(); - - console.log("i called") +app.on('window-all-closed', () => { gexpProc.kill(); - // app.quit(); - // + app.quit(); }); app.on('activate', () => { @@ -95,7 +90,6 @@ app.on('activate', () => { }); - let chainError = false; const runGexp = (path) => { // console.log("startGexp:path",path);