Commit Graph

26 Commits

Author SHA1 Message Date
Antonio Scandurra
e68a2b1eb9 Replace import and export keywords with require and module.exports 2018-01-19 09:43:55 +01:00
Antonio Scandurra
c4d0944c0d Snapshot more objects 2017-03-10 16:49:53 +01:00
Antonio Scandurra
4d4ee6bf3b Add applicationDelegate.getAutoUpdateManagerErrorMessage()
Sometimes, the error event gets emitted before the renderer process has
the chance to subscribe. Therefore, we expose an
`autoUpdateManager.getErrorMessage()` in the browser process, so that we
don’t lose that information.
2016-03-31 10:16:11 +02:00
Antonio Scandurra
e8e2370ed1 Log an error message to console as well 2016-03-30 15:06:26 +02:00
Antonio Scandurra
2d5e697016 Add AutoUpdateManager.prototype.onUpdateError 2016-03-30 15:05:57 +02:00
Ben Ogle
f884c987e2 Remove unnecessary import 2016-03-01 15:12:38 -08:00
Ben Ogle
492e89c8ff Move raw ipc calls into the applicationDelegate 2016-03-01 15:09:05 -08:00
Ben Ogle
4d11ff25d0 Use atom.getReleaseChannel() 2016-03-01 15:09:05 -08:00
Ben Ogle
58bf090724 Rename dispose -> destroy 2016-03-01 15:09:04 -08:00
Ben Ogle
8307fb8426 Change logic for `platformSupportsUpdates 2016-03-01 15:09:04 -08:00
Ben Ogle
3a32b30d5a Add mechanism to get the AutoUpdateManager's state 2016-03-01 15:09:04 -08:00
Ben Ogle
7a1ad8263a Rename quitAndInstallUpdate to restartAndInstallUpdate 2016-03-01 15:09:04 -08:00
Ben Ogle
68951494d2 isEnabled -> platformSupportsUpdates 2016-03-01 15:09:03 -08:00
Ben Ogle
418b1bd8f1 Get rid of the initialize method 2016-03-01 15:09:03 -08:00
Ben Ogle
1cd530cdf0 Add some todo code 2016-03-01 15:08:47 -08:00
Ben Ogle
c19296efb7 Add isEnabled function to AutoUpdateManager 2016-03-01 15:08:46 -08:00
Ben Ogle
e477751c19 Make the autoupdater functions consistently names 2016-03-01 15:08:46 -08:00
Ben Ogle
d3340d070f UpdateAvailable isn’t really a thing in this world 2016-03-01 15:08:46 -08:00
Ben Ogle
b60e1957a8 Return the disposables! 2016-03-01 15:08:46 -08:00
Ben Ogle
4afe6df2c4 Reorder for consistency 2016-03-01 15:08:46 -08:00
Ben Ogle
e9e372b69e Dispose emitter 2016-03-01 15:08:46 -08:00
Ben Ogle
c9293e7733 Pass the version info through the event 2016-03-01 15:08:45 -08:00
Ben Ogle
a876e85899 check -> checkForUpdate 2016-03-01 15:08:25 -08:00
Ben Ogle
b481a06cbf Pass the app delegate into AutoUpdateManager 2016-03-01 15:08:25 -08:00
Ben Ogle
e40c91d353 All subscriptions can be in one call 2016-03-01 15:07:56 -08:00
Ben Ogle
342f72b6a1 Rename Update AutoUpdateManager 2016-03-01 15:07:56 -08:00