Files
cindy/apps/desktop/src/shared/updateChannelCapability.ts
guyong-zapo 15d33101eb feat(desktop): enable beta channel on Linux x64 (#3853)
* feat(desktop): enable beta channel on Linux x64

Signed-off-by: guyong <guyong@xd.com>

* fix(desktop): validate beta manifest versions

Signed-off-by: guyong <guyong@xd.com>

---------

Signed-off-by: guyong <guyong@xd.com>
2026-09-03 23:56:41 +08:00

8 lines
303 B
TypeScript

/**
* Beta update-channel availability is a build capability, not a renderer-only
* visibility choice. Keep every caller on the same platform/architecture rule.
*/
export function supportsBetaUpdateChannel(platform: string, arch: string): boolean {
return platform !== 'linux' || arch === 'x64';
}