chore: bump vite-plugin-electron to 0.28.0-beta.2

This commit is contained in:
草鞋没号
2024-01-02 11:46:21 +08:00
parent 0d71c4bcd1
commit 374596c331
2 changed files with 5 additions and 5 deletions

View File

@@ -10,9 +10,9 @@ const __dirname = dirname(__filename)
//
// ├─┬ dist-electron
// │ ├─┬ main
// │ │ └── index.mjs > Electron-Main
// │ │ └── index.js > Electron-Main
// │ └─┬ preload
// │ └── index.mjs > Preload-Scripts
// │ └── index.js > Preload-Scripts
// ├─┬ dist
// │ └── index.html > Electron-Renderer
//
@@ -40,7 +40,7 @@ if (!app.requestSingleInstanceLock()) {
let win: BrowserWindow | null = null
// Here, you can also use other preload
const preload = join(__dirname, '../preload/index.mjs')
const preload = join(__dirname, '../preload/index.js')
const url = process.env.VITE_DEV_SERVER_URL
const indexHtml = join(process.env.DIST, 'index.html')