@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 04:45 UTC

main
ts 6 lines 275 Bytes
Raw
1 // Preview builds share nightly branding but ship without an update feed.
2 const PRERELEASE_VERSION_PATTERN = /^[^-+]+-(?:nightly|preview)\.\d{8}\.\d+$/;
3
4 export function isNightlyDesktopVersion(version: string): boolean {
5 return PRERELEASE_VERSION_PATTERN.test(version);
6 }