| 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 |