fix: add background color in the browser window

This commit is contained in:
mio 2023-05-04 12:41:44 +08:00
parent d324aee160
commit c724727886
2 changed files with 2 additions and 2 deletions

@ -1,6 +1,6 @@
{
"name": "star-rail-warp-export",
"version": "0.0.9",
"version": "0.0.10",
"main": "./dist/electron/main/main.js",
"author": "biuuu <https://github.com/biuuu>",
"license": "MIT",

@ -6,7 +6,6 @@ const crypto = require('crypto')
const unhandled = require('electron-unhandled')
const windowStateKeeper = require('electron-window-state')
const debounce = require('lodash/debounce')
const Registry = require('winreg')
const isDev = !app.isPackaged
@ -26,6 +25,7 @@ const initWindow = () => {
y: mainWindowState.y,
width: mainWindowState.width,
height: mainWindowState.height,
backgroundColor: '#fff',
webPreferences: {
contextIsolation:false,
nodeIntegration: true