Oleh Aleinyk
Oleh Aleinyk
As a workaround it is possible to use https://www.npmjs.com/package/retry to reconnect. It is easy to set listener for `closed` event and stop messages to be published while reconnecting. The tricky...
@matthew-dean well, that sounds strange. Right next to the updater you should find the log file. Any chance you can attach it?
@matthew-dean any chance the process under My App folder was still running when you started the updater? Or any other files inside of the folder (maybe some code pieces were...
@matthew-dean I found an interesting comment - https://www.quora.com/How-do-some-programs-on-Windows-auto-update-like-Chrome-and-others-dont-like-iTunes/answer/Jeff-Dickey. I actually have the same kind of thinking that apps, built with NWJS/Electron alike platforms should live in the "user space" too.
One more thing I've found interesting https://fman.io/blog/google-omaha-tutorial/ (the last paragraph): > Omaha's update task may run at any time, in particular while an instance of your app is running. When...
I'm not sure what can be wrong at the moment. I will try to test it at the moment and experiment with some other approaches for backups.
@tech4him1 yes! This is exactly where I've got idea from. Would need to dive deeper in their internals to figure out how can we transition the same approach to NWJS.
@tech4him1 well, actually Mac first as I'm on Mac now :) Great list of resources, thanks! I will check it out!
@tech4him1 https://github.com/nwjs/nw.js/pull/5722 :)
@matthew-dean thanks for the feedback! Obviously, this repo is just an example, which outlines the possible strategy of nwjs application autoupdates and it would be amazing to enclose it into...