Fix: 修复 assets 的路径和播放问题

This commit is contained in:
2025-08-08 17:35:33 +08:00
parent 27dfb0ae69
commit 18548ef9fb
14 changed files with 1219 additions and 856 deletions

View File

@ -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": {