aboutsummaryrefslogtreecommitdiff
path: root/src/index.js
diff options
context:
space:
mode:
author0neGal <mail@0negal.com>2022-05-16 23:51:26 +0200
committer0neGal <mail@0negal.com>2022-05-16 23:51:26 +0200
commit31545f96ac56e0bbc7d0ed59f86015d693d464d9 (patch)
tree883361501c42f71460d52047b7ac708e9de29ac1 /src/index.js
parent716a05ed8673302129aecfc10f680cbf1fa882c7 (diff)
downloadViper-31545f96ac56e0bbc7d0ed59f86015d693d464d9.tar.gz
Viper-31545f96ac56e0bbc7d0ed59f86015d693d464d9.zip
added mod preview browser
Instead of opening your normal web browser you can now just open the page inside Viper, many changes aren't finished yet, notably the webview.css file. At some point I'll split the main.css into more files so the folder makes sense even though there's currently only one file in there.
Diffstat (limited to 'src/index.js')
-rw-r--r--src/index.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/index.js b/src/index.js
index 6c3c79c..e718ef9 100644
--- a/src/index.js
+++ b/src/index.js
@@ -29,6 +29,7 @@ function start() {
frame: false,
icon: path.join(__dirname, "assets/icons/512x512.png"),
webPreferences: {
+ webviewTag: true,
nodeIntegration: true,
contextIsolation: false,
},