diff options
author | 0neGal <mail@0negal.com> | 2022-05-16 23:51:26 +0200 |
---|---|---|
committer | 0neGal <mail@0negal.com> | 2022-05-16 23:51:26 +0200 |
commit | 31545f96ac56e0bbc7d0ed59f86015d693d464d9 (patch) | |
tree | 883361501c42f71460d52047b7ac708e9de29ac1 /src/index.js | |
parent | 716a05ed8673302129aecfc10f680cbf1fa882c7 (diff) | |
download | Viper-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.js | 1 |
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, }, |