Change logic for `platformSupportsUpdates

This commit is contained in:
Ben Ogle
2016-02-26 16:39:42 -08:00
parent 3a32b30d5a
commit 8307fb8426

View File

@@ -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) {