Files
desktop/apps/hanzo-desktop/src-tauri/tauri.conf.zoo.json
zeekay d433606ee5 feat: white-label brand foundation (libs/brand-config + tauri overlays)
Adds the abstraction layer for building Hanzo and Zoo desktops from one
source tree. Foundation only — no library merges yet, existing hanzo build
unchanged.

* libs/brand-config — Brand/BrandConfig types, getBrand() resolves from
  VITE_BRAND env then hostname then 'hanzo' default. Hardcoded HANZO/ZOO
  literals (identifier, productName, hosts, network, miningEndpoint).
* tauri.conf.{hanzo,zoo}.json — overlays for productName, identifier,
  bundle.icon, app.windows[].title, updater endpoint per brand.
* package.json scripts — build:hanzo / build:zoo pass -c flag + VITE_BRAND.
* tsconfig.base.json — adds @hanzo_network/brand-config path alias.

Verify: 'npm run build:zoo' from apps/hanzo-desktop produces a com.zoo.desktop
bundle. Existing hanzo build unaffected (tsc + vite build clean).
2026-05-02 18:51:14 -07:00

34 lines
736 B
JSON

{
"productName": "Zoo",
"identifier": "com.zoo.desktop",
"bundle": {
"icon": [
"icons/zoo/32x32.png",
"icons/zoo/128x128.png",
"icons/zoo/[email protected]",
"icons/zoo/icon.icns",
"icons/zoo/icon.ico"
]
},
"plugins": {
"updater": {
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDY5RTREOUVBODQ0QUYwRDQKUldUVThFcUU2dG5rYVV1MjlvS2FGKzZSMVFnRnFVdUh1ZnVWc2pDSHFqWThaYUFneC9rUU1Gc2MK",
"endpoints": [
"https://github.com/zooai/desktop/releases/latest/download/latest.json"
]
},
"deep-link": {
"desktop": {
"schemes": ["zoo"]
}
}
},
"app": {
"windows": [
{
"title": "Zoo AI"
}
]
}
}