mirror of
https://github.com/atom/atom.git
synced 2026-01-25 06:48:28 -05:00
Change logic for `platformSupportsUpdates
This commit is contained in:
@@ -42,7 +42,7 @@ export default class AutoUpdateManager {
|
||||
}
|
||||
|
||||
platformSupportsUpdates () {
|
||||
return this.getReleaseChannel() == 'stable' && (this.getPlatform() === 'darwin' || this.getPlatform() === 'win32')
|
||||
return this.getReleaseChannel() !== 'dev' && this.getState() !== 'unsupported'
|
||||
}
|
||||
|
||||
onDidBeginCheckingForUpdate (callback) {
|
||||
|
||||
Reference in New Issue
Block a user