Repository navigation
Set up auto-updates on Windows - #3815
Conversation
a8f57e8 to
6d35533
Compare
|
Hit this trying to build this branch: |
|
I resolved my build problems. Next question: Is this branch expected to build a functional Setup.exe or is that still WIP? |
|
@thedaniel You usually have to run the separate |
|
@thedaniel This is my Noobness in action, I don't know how to require a file in the same directory as my file 😿
|
There was a problem hiding this comment.
autoUpdater = require './auto-updater-win32'There was a problem hiding this comment.
What he said - also the setup seems to leave a permanent loading gif behind
in the middle of the screen after install. Maybe that JS exception
prevented it from being cleaned up?
On Tue, Oct 21, 2014 at 2:04 PM, Kevin Sawicki [email protected]
wrote:
In src/browser/auto-update-manager.coffee:
if process.platform is 'win32'
autoUpdater.checkForUpdates = => @checkForUpdatesShim()autoUpdater = require 'browser/auto-updater-win32'autoUpdater = require './auto-updater-win32'
—
Reply to this email directly or view it on GitHub
https://github.com/atom/atom/pull/3815/files#r19179132.
|
Though fixing that line gives me a Setup.exe that appears to launch and close a second later with nothing displayed and nothing in the Event Viewer. |
581e88c to
b281113
Compare
This will make it easier to extract to Atom Shell since BufferedProcess is internal to Atom.
71bf818 to
89246f2
Compare
These will be re-added before the first release where squirrel update assets are available on the release.
Set up auto-updates on Windows
|
Thanks for this @paulcbetts |
|
👏 💯 Thanks a lot @paulcbetts and @kevinsawicki (and everybody else that helped)! |
|
@50Wliu it probably will be a couple more releases before the installer/updater is officially released, it has a few remaining tasks such as #4180 and also needs more testing. Once #4180 is done I'll open up a new issue asking for some help from people on Windows to test it out and report any install issues. |
|
Ah well. Still, progress is nice :). |

This PR sets up automatic updates for installations that use Squirrel for Windows by implementing
auto-updaterdirectly instead of using the one built into Atom Shell. Squirrel for Windows uses out-of-process updates, so wiring it up in Native Code would just mean extra suffering