chore: bump deps

This commit is contained in:
younglei
2022-06-29 23:42:38 +08:00
parent f094cbac34
commit a24223d22d
2 changed files with 2 additions and 3 deletions

View File

@@ -17,8 +17,7 @@ process.env['ELECTRON_DISABLE_SECURITY_WARNINGS'] = 'true'
let win: BrowserWindow | null = null
// Here, you can also use other preload
const preload = join(__dirname, '../preload/index.js')
// 🚧 Use ['ENV_NAME'] avoid vite:define plugin
const url = `http://${process.env['VITE_DEV_SERVER_HOST']}:${process.env['VITE_DEV_SERVER_PORT']}`
const url = `http://${process.env.VITE_DEV_SERVER_HOST}:${process.env.VITE_DEV_SERVER_PORT}`
async function createWindow() {
win = new BrowserWindow({