diff --git a/package.json b/package.json index b96d82f..ffc50b0 100644 --- a/package.json +++ b/package.json @@ -58,7 +58,7 @@ "dependencies": { "body-parser": "^1.17.2", "cors": "^2.8.4", - "electron": "^1.6.11", + "electron": "^1.7.6", "electron-compile": "^6.4.1", "electron-config": "^1.0.0", "express": "^4.15.4", @@ -74,6 +74,7 @@ "babel-plugin-transform-async-to-generator": "^6.24.1", "babel-preset-env": "^1.6.0", "babel-preset-react": "^6.24.1", + "electron-forge": "^4.0.2", "electron-prebuilt-compile": "1.6.11", "eslint": "^3.19.0", "eslint-config-airbnb": "^15.1.0", diff --git a/src/controller/player_onTop.js b/src/controller/player_onTop.js index 33b85f3..36d2894 100644 --- a/src/controller/player_onTop.js +++ b/src/controller/player_onTop.js @@ -12,6 +12,7 @@ var win = null; var pot = {}; var s = null; +var pot_open_ev = null; ipcMain .on('close_pot',(event,arg)=>{ diff --git a/src/controller/youtube-dl.js b/src/controller/youtube-dl.js index 4ba2c93..1b62c40 100644 --- a/src/controller/youtube-dl.js +++ b/src/controller/youtube-dl.js @@ -141,6 +141,7 @@ var yt_dl = class{ if (ampersandPosition != -1) { video_id = video_id.substring(0, ampersandPosition); } + /* var x = new Notification({ title:"Cyb3r Downloader", body :"finished download for "+url,