diff --git a/src/index.js b/src/index.js index 66ce131..20ca116 100644 --- a/src/index.js +++ b/src/index.js @@ -9,7 +9,8 @@ function createWindow() { width: windowWidth, height: height, webPreferences: { - nodeIntegration: true + nodeIntegration: false, + preload: path.join(app.getAppPath(), 'public/preload.js') }, alwaysOnTop: true, frame: false, diff --git a/src/package.json b/src/package.json index 750b2f2..18f497b 100644 --- a/src/package.json +++ b/src/package.json @@ -1,6 +1,6 @@ { "name": "liveapp-mvp", - "version": "0.3.0", + "version": "0.3.1", "private": true, "description": "A frontend for the WidgetBot discord bot", "main": "index.js", diff --git a/src/public/index.html b/src/public/index.html index 6af7f0c..343ce88 100644 --- a/src/public/index.html +++ b/src/public/index.html @@ -3,6 +3,7 @@
+