mirror of
https://github.com/chaitin/MonkeyCode.git
synced 2026-11-23 12:31:32 +08:00
- engine-windows 追加 GOOS=linux 交叉编译(GOFLAGS 无 windowsgui), 产物 binaries/ohmyagent-linux 经 bundle.resources 落安装根, guest 经 /mnt/c 直接执行,不拷入发行版 - win7 通道 resources 对象深合并自动继承;其 Linux 构建用官方 Go 在 go-win7 GOROOT 改写之前单独成步 - check_bundle_configs 新不变量:nsis 包必含 ohmyagent-linux, 防打出不支持 WSL 的 Windows 包(配套 2 个用例)
38 lines
729 B
JSON
38 lines
729 B
JSON
{
|
|
"bundle": {
|
|
"active": true,
|
|
"targets": [
|
|
"nsis"
|
|
],
|
|
"externalBin": [
|
|
"binaries/ohmyagent"
|
|
],
|
|
"resources": {
|
|
"../browser-extension/dist": "browser-extension",
|
|
"binaries/ohmyagent-linux": "./"
|
|
},
|
|
"icon": [
|
|
"icons/icon.ico",
|
|
"icons/icon.png"
|
|
],
|
|
"windows": {
|
|
"nsis": {
|
|
"installerIcon": "icons/icon.ico",
|
|
"uninstallerIcon": "icons/icon.ico",
|
|
"languages": [
|
|
"SimpChinese",
|
|
"English"
|
|
],
|
|
"displayLanguageSelector": false
|
|
}
|
|
}
|
|
},
|
|
"plugins": {
|
|
"updater": {
|
|
"endpoints": [
|
|
"https://release.monkeycode-ai.com/public/desktop/latest-windows.json"
|
|
]
|
|
}
|
|
}
|
|
}
|