Skip to content

Commit

Permalink
chore(examples/quick-start): update
Browse files Browse the repository at this point in the history
  • Loading branch information
caoxiemeihao committed Feb 19, 2023
1 parent 3c0d7c6 commit b0e2dba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import path from 'path'
// │ ├─┬ renderer
// │ │ └── index.html

process.env.ROOT = path.join(__dirname, '../..')
process.env.ROOT = path.join(__dirname, '..')
process.env.DIST = path.join(process.env.ROOT, 'dist-electron')
process.env.VITE_PUBLIC = process.env.VITE_DEV_SERVER_URL
? path.join(process.env.ROOT, 'public')
Expand Down
2 changes: 1 addition & 1 deletion examples/quick-start/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"author": "草鞋没号 <[email protected]>",
"license": "MIT",
"main": "dist-electron/main/index.js",
"main": "dist-electron/main.js",
"scripts": {
"dev": "nuxi dev",
"build": "nuxi build --prerender && electron-builder"
Expand Down

0 comments on commit b0e2dba

Please sign in to comment.