Skip to main content

Module update_handlers

Module update_handlers 

Source
Expand description

Self-update handlers for fetching and installing new versions.

Flow:

  1. git fetch in hyprstream-releases.git bare repo
  2. Check latest tag vs active-version
  3. If newer: create pathspec-filtered worktree for active variant
  4. Verify new binary
  5. Update active-version

Functionsยง

check_should_reexec
Check if we should re-exec into an installed variant.
handle_update
Check for updates and install if newer version available.
re_exec_variant
Re-exec into the installed GPU variant binary.