IMO, we should just restart automatically after downloading an update if no Hyper window is open.
Contributor guide
Tech stack
typescriptjavascript
Domain
desktoprelease
Issue type
feature
DifficultyEstimated implementation difficulty for a new contributor, from 1 for very small changes to 5 for expert-level work.
3
Estimated timeA rough time range for an experienced contributor to investigate, implement, test, and prepare a pull request.
1-3 hours
Activity statusHow available the issue appears right now: fresh, active, stale, blocked, or waiting on maintainer input.
stale
ClarityHow clearly the issue explains the expected change, acceptance criteria, and next step.
clear
Prerequisites
Understanding of electron updaterFamiliarity with Hyper's main process
Newbie friendlinessA 1-100 score estimating how approachable this issue is for first-time contributors.
40
Research direction
Investigate Hyper's auto update logic, likely in the main process file (e.g., src/index.ts or similar). The issue suggests modifying the update handler to check if all windows are closed before restarting. Look for existing electron updater configuration and the 'autoUpdater' events. Also review comments in the issue for any suggested approach or potential pitfalls.