Code & Deploy
siGit Code
Git Hosting
Toggle menu
siGit Code
Git Hosting
Sign in
Sign in
@devries-cameron20
/
t3code-1
Fork
0
The best way to control Claude Code, Codex and more from any computer or phone
t3code-1
/
apps
/
desktop
/
src
/
updates
/
updateChannels.ts
Code
Commits
Issues
Pulls
Cloud Agent
CICD
main
main
ts
6 lines
275 Bytes
Copy permalink
Copy
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
}