修复 无法上传问题

This commit is contained in:
2025-10-07 00:53:54 +08:00
parent c21319fe3c
commit 2b62027842
8 changed files with 755 additions and 4835 deletions

View File

@@ -21,7 +21,7 @@
"test": "jest",
"test:watch": "jest --watch",
"electron:dev": "node electron/dev-runner.js",
"electron:build": "vite build && copy public\\favicon.svg dist\\ && electron-builder --win --x64",
"electron:build": "cross-env NODE_ENV=production vite build && electron-builder --win --x64",
"electron:preview": "node electron/prod-runner.js",
"electron:compile": "tsc -p tsconfig.electron.json",
"postinstall": "echo Skipping electron-builder install-app-deps"
@@ -48,11 +48,17 @@
"@testing-library/react": "^16.3.0",
"@types/jest": "^30.0.0",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^5.0.4",
"autoprefixer": "^10.4.21",
"cross-env": "^7.0.3",
"electron": "^38.2.1",
"electron-builder": "^26.0.12",
"eslint": "^9.9.1",
"eslint-plugin-react-hooks": "^5.1.0-rc.0",
"eslint-plugin-react-refresh": "^0.4.11",
"globals": "^15.9.0",
"postcss": "^8.5.6",
"tailwindcss": "^3.4.15",
"typescript": "^5.5.3",
"typescript-eslint": "^8.3.0",
"vite": "^5.4.2"