For users deploying Coder Desktop via MDM, we'll need to support disabling the Sparkle auto-updater altogether. When disabled, all the UI elements for the built-in updater should also be hidden.
One way to do this might be to add a UserDefaults value that would be forcibly set via MDM (such that the user can't manually override it. I believe this to be supported by Apple MDM profiles). When detected, Coder Desktop should skip initialising the Sparkle updater service, and hide the corresponding UI elements.
For users deploying Coder Desktop via MDM, we'll need to support disabling the Sparkle auto-updater altogether. When disabled, all the UI elements for the built-in updater should also be hidden.
One way to do this might be to add a
UserDefaultsvalue that would be forcibly set via MDM (such that the user can't manually override it. I believe this to be supported by Apple MDM profiles). When detected, Coder Desktop should skip initialising the Sparkle updater service, and hide the corresponding UI elements.