feat(electron): 添加Electron桌面应用支持

- 新增Electron主进程、预加载脚本和构建配置
- 修改前端配置以支持Electron打包
- 更新项目文档和依赖
- 重构API调用使用统一axios实例
This commit is contained in:
dmy
2026-01-15 00:35:19 +08:00
parent f736f30248
commit eca3f4f9fd
22 changed files with 421 additions and 109 deletions

13
app/package.json Normal file
View File

@@ -0,0 +1,13 @@
{
"name": "bidding-app",
"version": "0.0.1",
"description": "投标应用Electron版本",
"main": "main.js",
"scripts": {
"start": "electron .",
"build": "electron-builder"
},
"keywords": ["electron", "bidding", "app"],
"author": "",
"license": "UNLICENSED"
}