Hyper: Auto-update if all windows closed

Created on 31 Dec 2016  路  13Comments  路  Source: vercel/hyper

IMO, we should just restart automatically after downloading an update if no Hyper window is open.

good first issue 馃挰 Feedback Wanted

Most helpful comment

I like the Chrome way. Always run the _latest_, the least you bother the user the better.

All 13 comments

This is really clever

As long as there is a notice I'm fine with that.

I wouldn't expect that to happen...

From the electron auto-updater docs:

Note: autoUpdater.quitAndInstall() will close all application windows first and only emit before-quit event on app after that. This is different from the normal quit event sequence.

If there is no window open, shouldn't quitAndInstall() just restart it? I mean, I would assume that that's the expected behavior, isn't it working like that right now?

I prefer the macOS way. Give user the ability to update when they want.

I like the Chrome way. Always run the _latest_, the least you bother the user the better.

I like the Chrome way. Always run the latest, the least you bother the user the better.

Thumbs up for that 馃檶馃徎

IMO for patches or even minor versions it should be automatic.

Yep, in the case of no terminal sessions being open, for all cases I think

That would be great. How does the updating process work currently? Is it manual? I'm on Windows 10

@rauchg is this issue valid yet? I started using Hyper a few days ago and I would like to contribute.

Yep, I'd say we're happy to accept a PR for it! 馃槉

thanks, @leo! Expect a PR soon. [=

Was this page helpful?
0 / 5 - 0 ratings

Related issues

leo picture leo  路  3Comments

eoinmurray picture eoinmurray  路  3Comments

weabot picture weabot  路  3Comments

rauchg picture rauchg  路  3Comments

alejandrofloresm picture alejandrofloresm  路  3Comments