App should auto update
From #43: Many electron-based apps download updates automatically and ask the user to restart to apply. I feel this is of best interest to this app, specially because people typically would download this application and use as is until they find a major problem with it, and then they'd have to come to GH releases.
It would be great if this was actually part of the next release.
I would like to work on this, but I've got some questions. What message should be displayed after downloading updates?
We already have the logic to check for updates (including how often and etc), so you could just work on actually auto updating :D
Btw, do you have a clue on how to do it already or would you learn as you go? (Just curious)
Well, I am not an Electron developer. Do it just for fun. I thought to use ipcRenderer.send("download".. Or autoUpdater.
Well, give it a try and let us know!
Assigned to @Grigory57
Sorry guys, I haven't succeeded. I did some research and tried to update the app with the electron-updater and autoUpdater, but no luck. I feel I miss something, but I can't put my finger on it. So I believe it's better to assign someone else in order not to waste your time. Sorry.
Oh, that's unfortunate @Grigory57 , but thank you very much for trying, we really appreciate, now we know it's not a trivial effort and we also have documented it to other people :) Thanks!
Okay, this isn't automatic or anything, but I bet it could easily be made so. https://github.com/kashaiahyah85/homebrew-k85-tap
To install:
brew tap kashaiahyah85/homebrew-k85-tap
brew cask install time-to-leave
After that, if you'll open up your apps, right-click on Time to Leave, and click open, then you'll be shown a security confirmation and you're up and going.
And, for upgrades:
brew cask upgrade time-to-leave
It'll need to be updated to upgrade to the newest version released, but that's no trouble.
We can probably work this into an update option in a menu, or even have it run as a separate process in the background now and then to check for a new https://github.com/thamara/time-to-leave/releases.atom.
It is essentially impossible to accomplish this on macos, save for paying apple. But, Windows and Linux are much simpler.