hololake-system-architecture/product-source/hololake-desktop/package.json
冰朔 84a631d886 docs+fix: 铸渊开发日志 20260808 + 签名/生产模式修复
开发日志(DEV-LOG-20260808):
- 完整思维逻辑链:从妈妈指令到技术决策的推理过程
- 每个模块的开发详情、Bug 修复历程、架构映射
- 签名安装全过程(AppleDouble/asar/codesign/entitlements)
- 已知问题和待修复项(给后续人格体排查)
- 提交链完整记录(070b11adcf8f7d)

代码修复:
- electron/main.ts: 生产模式改为 require(server-bundle.js) 内嵌
- package.json: 签名 identity 配置 + asar:false
- server/index.ts: Agent import 补全
2026-08-08 09:46:43 +08:00

66 lines
1.8 KiB
JSON

{
"name": "hololake-desktop",
"version": "0.5.0",
"description": "HoloLake Era 桌面版 — Git 驱动的知识库管理",
"main": "dist-electron/main.js",
"type": "module",
"scripts": {
"dev": "concurrently \"npm run dev:server\" \"npm run dev:client\"",
"dev:server": "tsx watch ../guanghu-knowledge-base/server/index.ts",
"dev:client": "vite",
"dev:electron": "electron .",
"build": "vite build && tsc -p tsconfig.electron.json",
"pack": "npm run build && electron-builder --mac --dir",
"dist": "npm run build && electron-builder --mac",
"preview": "vite preview"
},
"dependencies": {
"express": "^5.1.0",
"cors": "^2.8.5",
"simple-git": "^3.27.0",
"gray-matter": "^4.0.3",
"marked": "^15.0.0",
"diff": "^7.0.0"
},
"devDependencies": {
"@types/express": "^5.0.0",
"@types/cors": "^2.8.17",
"@types/diff": "^6.0.0",
"@types/node": "^22.0.0",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
"@vitejs/plugin-react": "^4.3.0",
"concurrently": "^9.1.0",
"electron": "^35.0.0",
"electron-builder": "^26.0.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"tsx": "^4.19.0",
"typescript": "^5.7.0",
"vite": "^6.2.0"
},
"build": {
"appId": "com.guanghu.hololake-desktop",
"productName": "HoloLake Era",
"mac": {
"category": "public.app-category.productivity",
"icon": "forgejo/icon.icns",
"identity": "bei sun (825A9L3G7Q)",
"target": [
{ "target": "dmg", "arch": ["arm64"] }
]
},
"asar": false,
"files": [
"dist/**/*",
"dist-electron/**/*",
"forgejo/MANIFEST.sha256",
"!node_modules/.cache",
"!**/.DS_Store",
"!**/._*"
],
"directories": {
"output": "release"
}
}
}