You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add mechanism for autoUpdater to report a new version without downloading #4587
Atom has a setting core.automaticallyUpdate, when it's false, we don't check for updates. It would be nice to be able to periodically check if there is an update available, report the version to the user, but without auto-downloading the new update.
This would allow us to provide a mechanism to users to control when they spend that bandwidth, which is a problem for people on data plans. See the manual update section of atom/about#12 (comment) for what this would look like in atom.
Not sure on what the interface could be. Maybe a boolean in checkForUpdates()? Maybe also some data in the update-available event indicating whether or not the update is being downloaded? Just riffing here.
Reacted by Adam Drago, caesarwang, Joe Rickerby, rbns, Jan Killian, Eric Duncan, Alex Hall, Ukz Perdana, Antonio Stoilkov, Tom Moor and 2 more
As a workaround, I am thinking of hosting my own endpoint to call to see if there is an update available then, if there is, prompt the user to download/install it which would call autoUpdater.checkForUpdates().
Given that this issue has been open in stasis for years, that a workaround exists, and that this isn't currently on our roadmap, i'm going to go ahead and label this a wontfix. However, should someone determine a workable solution we would be very open to accepting a PR!
Reacted by Sven Schwyn, Mauricio Guzmán Salazar and AnDang-Personify
Activity
gschier commentedon Jul 27, 2016
This is something that I'd also like to see.
As a workaround, I am thinking of hosting my own endpoint to call to see if there is an update available then, if there is, prompt the user to download/install it which would call
autoUpdater.checkForUpdates().BrandonSmith commentedon Jul 27, 2016
@gschier My app implements a preCheckForUpdates function using the same strategy you describe.
itpimp commentedon Aug 17, 2017
My workaround solution [not pretty, but works like a bomb]:
I have main.js, index.html (loading / splash window) and updater.html.
index.html queries the RELEASES file to determine if there is an update:
And then in main.js:
And then updater.html (with goForUpdate() onload):
codebytere commentedon Feb 10, 2019
Given that this issue has been open in stasis for years, that a workaround exists, and that this isn't currently on our roadmap, i'm going to go ahead and label this a
wontfix. However, should someone determine a workable solution we would be very open to accepting a PR!