79ae82fa48
Localizes the Electron application menu (文件/编辑/视图/窗口/帮助 plus the macOS app menu), adds a branded 1024px app icon (window + per-target icns/ico), and makes the packaged app fully self-contained. Because the harness's pnpm workspace does not cleanly materialize via pnpm deploy or electron-builder's dependency resolution (per-package symlinks to vendored sources, native addons, a separate frontend dist), scripts/build-harness.mjs assembles the repository's working runtime — node_modules, vendor, packages, native, apps/cli, apps/web, and a bundled Node binary — into build/harness. electron-builder ships it as an extraResource at Resources/harness, and the main process spawns that bundled node + dsh entry when packaged (keeping the system-Node child during dev). Adds a comprehensive README and ignores the multi-GB harness/dist from git. Co-Authored-By: Claude <noreply@anthropic.com>
32 lines
795 B
JSON
32 lines
795 B
JSON
{
|
|
"name": "@deepseek-ai/dsh-desktop",
|
|
"description": "DeepSeek Harness Desktop ,由 PineSound 基于 deepseek-harness 项目构建",
|
|
"version": "0.1.0-rc.5",
|
|
"private": true,
|
|
"type": "module",
|
|
"author": "PineSound",
|
|
"main": "lib/types/main.js",
|
|
"files": [
|
|
"lib/types/*.js",
|
|
"lib/types/*.d.ts",
|
|
"electron-builder.yml"
|
|
],
|
|
"scripts": {
|
|
"build": "tsc -b tsconfig.json",
|
|
"build:harness": "node scripts/build-harness.mjs",
|
|
"typecheck": "tsc -b tsconfig.json",
|
|
"test": "vitest run",
|
|
"pack": "electron-builder"
|
|
},
|
|
"dependencies": {
|
|
"@deepseek-ai/dsh": "workspace:^"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.0.0",
|
|
"electron": "^42.4.1",
|
|
"electron-builder": "^25.1.8",
|
|
"typescript": "^6.0.3",
|
|
"vitest": "^4.1.8"
|
|
}
|
|
}
|