Skip to content

Commit

Permalink
chore: bump vite-plugin-electron to 0.28.0-beta.2
Browse files Browse the repository at this point in the history
  • Loading branch information
caoxiemeihao committed Jan 2, 2024
1 parent 0d71c4b commit 374596c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions electron/main/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
//
Expand Down Expand Up @@ -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')

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "electron-vue-vite",
"version": "28.0.0",
"main": "dist-electron/main/index.mjs",
"main": "dist-electron/main/index.js",
"description": "Really simple Electron + Vue + Vite boilerplate.",
"author": "草鞋没号 <[email protected]>",
"license": "MIT",
Expand Down Expand Up @@ -31,7 +31,7 @@
"tree-kill": "^1.2.2",
"typescript": "^5.3.3",
"vite": "^5.0.10",
"vite-plugin-electron": "^0.28.0-beta.1",
"vite-plugin-electron": "^0.28.0-beta.2",
"vite-plugin-electron-renderer": "^0.14.5",
"vue": "^3.4.1",
"vue-tsc": "^1.8.27"
Expand Down

0 comments on commit 374596c

Please sign in to comment.