• v0.7.0 818b10d109

    Power menu for shell mode (Lock / Sleep / Exit)
    release / Build Windows .zip (push) Canceled after 0s

    LastSkywalker released this 2026-05-27 22:21:45 +03:00 | 60 commits to main since this release

    internal/power wraps LockWorkStation (user32 syscall) and SetSuspendState
    (via rundll32 powrprof — the helper that handles the SE_SHUTDOWN_NAME
    privilege dance for us). App.go exposes LockWorkstation and
    SleepWorkstation as Wails methods.

    Shell UI gets a PowerMenu modal — three big controller-friendly cards
    for Lock / Sleep / Exit shell, navigable with arrows + d-pad, A/Enter
    confirms, B/Esc closes. Reached via two paths:
    – new ⏻ corner icon (mouse)
    – X button (controller — the only otherwise-unused face button)

    Lock takes the user to the OS lock screen (Win+L equivalent),
    GameSaver keeps running in the background. Sleep S3-standbys the PC.
    Exit calls the existing flow (restore monitors → DisableShellMode →
    QuitApp → watchdog launches explorer).

    Downloads