Skip to content

Commit 7d353ff

Browse files
committed
Electron
1 parent 899b772 commit 7d353ff

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

electron.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ app.on('window-all-closed', function() {
1818
// initialization and is ready to create browser windows.
1919
app.on('ready', function() {
2020
// Create the browser window.
21-
mainWindow = new BrowserWindow({width: 800, height: 600});
21+
mainWindow = new BrowserWindow({width: 800, height: 600, webPreferences: {nodeIntegration: false}});
2222

2323
// and load the index.html of the app.
2424
mainWindow.loadURL("http://localhost:3000/");

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "party-youtube-downloader",
3-
"version": "2.3.8",
3+
"version": "2.3.9",
44
"description": "Music downloader for party",
55
"main": "./electron.js",
66
"repository": {

0 commit comments

Comments
 (0)