mirror of
https://github.com/hansjone/oclaw.git
synced 2026-10-09 01:50:44 +08:00
- 在 oclaw/ 下重新初始化 Git 仓库 - 补齐子仓库 .gitignore,避免提交本地运行态数据(_local、node_modules、logs 等) - 提交当前工程代码与配置 Made-with: Cursor
58 lines
1.5 KiB
JSON
58 lines
1.5 KiB
JSON
{
|
|
"name": "oclaw",
|
|
"version": "1.0.0",
|
|
"description": "oclaw desktop shell for admin/chat UI",
|
|
"main": "main.js",
|
|
"scripts": {
|
|
"dev": "electron .",
|
|
"start": "electron .",
|
|
"prepare:icon": "node ./tools/generate-icon.cjs",
|
|
"pack:dir": "npm run prepare:icon && electron-builder --dir -c.win.signAndEditExecutable=false",
|
|
"pack:win": "npm run prepare:icon && electron-builder --win nsis -c.win.signAndEditExecutable=false"
|
|
},
|
|
"keywords": [
|
|
"electron",
|
|
"desktop",
|
|
"oclaw"
|
|
],
|
|
"author": "",
|
|
"license": "MIT",
|
|
"type": "commonjs",
|
|
"devDependencies": {
|
|
"@resvg/resvg-js": "^2.6.2",
|
|
"electron": "^41.2.1",
|
|
"electron-builder": "^26.8.1",
|
|
"png-to-ico": "^3.0.1"
|
|
},
|
|
"build": {
|
|
"appId": "com.oclaw.desktop",
|
|
"productName": "oclaw",
|
|
"artifactName": "oclaw-${version}-${arch}.${ext}",
|
|
"directories": {
|
|
"output": "dist"
|
|
},
|
|
"files": [
|
|
"**/*",
|
|
"!dist/**",
|
|
"!node_modules/.cache/**"
|
|
],
|
|
"win": {
|
|
"icon": "assets/oclaw.ico",
|
|
"executableName": "oclaw",
|
|
"signAndEditExecutable": false,
|
|
"target": [
|
|
"nsis"
|
|
]
|
|
},
|
|
"nsis": {
|
|
"artifactName": "oclaw-setup-${version}.${ext}",
|
|
"menuCategory": "oclaw",
|
|
"shortcutName": "oclaw",
|
|
"createDesktopShortcut": "always",
|
|
"createStartMenuShortcut": true,
|
|
"uninstallDisplayName": "oclaw",
|
|
"installerIcon": "assets/oclaw.ico",
|
|
"uninstallerIcon": "assets/oclaw.ico"
|
|
}
|
|
}
|
|
}
|