Skip to main content

Module startup

Module startup 

Source
Expand description

Fail-closed release update gate shown before the main application state loads.

Structs§

StartupState
Shared startup phase, guarded so only one check runs at a time.

Enums§

StartupView
The startup phase shown by the startup screen, serialized with a phase tag.

Functions§

prepare_local_data 🔒
Imports legacy data once, then creates the widget folder.
quit_startup
Exits the app from the startup screen.
retry_startup_update
Runs the startup check again after a failure.
run
Runs the startup update check unless one is already running, recording the outcome.
run_inner 🔒
Downloads and verifies the signed manifest, then either opens the app or installs the required update and restarts.
startup_status
Returns the current startup phase to the startup screen.
wait_until_ready
Waits until startup reaches the ready phase.