Fix: 修复 assets
的路径和播放问题
This commit is contained in:
@ -4,7 +4,7 @@
|
||||
"description": "A cute desktop pet of 'Shuodedaoli' built with Electron and Vue 3.",
|
||||
"main": "main/main.js",
|
||||
"scripts": {
|
||||
"dev": "concurrently \"cd renderer && npm run dev\" \"wait-on http://localhost:5173 && electron .\"",
|
||||
"dev": "concurrently \"cd renderer && npm run dev\" \"wait-on http://localhost:5173 && cross-env NODE_ENV=development electron .\"",
|
||||
"build": "cd renderer && npm run build && electron-builder",
|
||||
"start": "electron ."
|
||||
},
|
||||
@ -24,7 +24,7 @@
|
||||
"electron": "^37.2.5",
|
||||
"vue": "^3.5.18",
|
||||
"concurrently": "^8.0.0",
|
||||
"vite": "^4.0.0",
|
||||
"vite": "^5.0.0",
|
||||
"wait-on": "^7.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
|
Reference in New Issue
Block a user