Skip to content

Support power off after downloads on Linux - #24393

Merged
IDCs merged 1 commit into
Nexus-Mods:masterfrom
SPTApyo:fix/linux-download-shutdown
Oct 5, 2026
Merged

IDCs merged 1 commit into
Nexus-Mods:masterfrom
SPTApyo:fix/linux-download-shutdown

Conversation

@SPTApyo

@SPTApyo SPTApyo commented Oct 4, 2026

Copy link
Copy Markdown
Contributor

The "Power off when done" button on the downloads page was only shown on Windows because it goes through winapi.

On Linux it now waits the same 30 seconds after the last download and runs systemctl poweroff. Cancelling, or a new download starting, clears the timer.

Tested with a slow local download and a fake systemctl on PATH: it gets called 30 seconds after the download finishes, and not at all when cancelled before that.

@SPTApyo
SPTApyo requested a review from a team as a code owner October 4, 2026 01:33
@IDCs
IDCs merged commit c98d349 into Nexus-Mods:master Oct 5, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants