返回 DeepSeek-Reasonix
updater_policy.go
根目录 / desktop / updater_policy.go
1 package main
2
3 // desktopUpdaterEnabled is a build capability, not a user preference. Only an
4 // exact stable release build may contact or execute the production updater.
5 func desktopUpdaterEnabled() bool {
6 return channel == "stable" && stableDesktopVersionRE.MatchString(version)
7 }
8
8 lines GO