mirror of
https://github.com/earthjasonlin/zzz-signal-search-export.git
synced 2024-11-23 05:40:21 +08:00
fix: add background color in the browser window
This commit is contained in:
parent
d324aee160
commit
c724727886
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "star-rail-warp-export",
|
"name": "star-rail-warp-export",
|
||||||
"version": "0.0.9",
|
"version": "0.0.10",
|
||||||
"main": "./dist/electron/main/main.js",
|
"main": "./dist/electron/main/main.js",
|
||||||
"author": "biuuu <https://github.com/biuuu>",
|
"author": "biuuu <https://github.com/biuuu>",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
@ -6,7 +6,6 @@ const crypto = require('crypto')
|
|||||||
const unhandled = require('electron-unhandled')
|
const unhandled = require('electron-unhandled')
|
||||||
const windowStateKeeper = require('electron-window-state')
|
const windowStateKeeper = require('electron-window-state')
|
||||||
const debounce = require('lodash/debounce')
|
const debounce = require('lodash/debounce')
|
||||||
const Registry = require('winreg')
|
|
||||||
|
|
||||||
const isDev = !app.isPackaged
|
const isDev = !app.isPackaged
|
||||||
|
|
||||||
@ -26,6 +25,7 @@ const initWindow = () => {
|
|||||||
y: mainWindowState.y,
|
y: mainWindowState.y,
|
||||||
width: mainWindowState.width,
|
width: mainWindowState.width,
|
||||||
height: mainWindowState.height,
|
height: mainWindowState.height,
|
||||||
|
backgroundColor: '#fff',
|
||||||
webPreferences: {
|
webPreferences: {
|
||||||
contextIsolation:false,
|
contextIsolation:false,
|
||||||
nodeIntegration: true
|
nodeIntegration: true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user