Add Restart to Windows - #1112
Open
nileshchakraborty wants to merge 1 commit into
Open
Conversation
Issues FoundNo issues with your PR description were found. Next Steps
Thank you for your contribution! If you need any help, please reach out on our Discord server. ❤️ |
nileshchakraborty
requested a deployment
to
testing_env
August 24, 2026 08:49 — with
GitHub Actions
Waiting
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add Restart to Windows to Plugin Store
Restart to Windows is a focused, Bazzite-specific Decky plugin for configured Windows dual-boot systems. It adds a confirmed controller-native action in QAM instead of requiring users to find and launch Bazzite's generated non-Steam shortcut.
The plugin requires Bazzite's supported
ujust setup-boot-windows-steamsetup. Its non-root Python backend discovers the installedboot-windowshelper through the platform trusted command path, invokes it, and returns success only afterefibootmgrconfirms thatBootNextmatches an exactWindows Boot Managerentry. The React frontend then asks Steam's nativeSteamClient.System.RestartPC()API to perform the session-aware restart.It does not hard-code a username, home directory, hostname, helper path, or EFI boot number; does not request Decky root privileges; does not broaden Bazzite's sudo rule; and never changes persistent EFI
BootOrder. If Steam's native restart API is unavailable after Windows is armed, it instructs the user to use the normal Power -> Restart action.Authorship disclosure: Nilesh supplied and owns the core EFI boot logic and functional requirements, directed the implementation and safety decisions, and performed the physical end-to-end validation. Codex generated a majority of the Decky plugin scaffolding, implementation, and automated tests, so the corresponding declaration below is intentionally left unchecked for transparent maintainer review.
Task Checklist
Developer
Plugin
Backend
boot-windowshelper and the systemefibootmgr; neither is bundled by the plugin.Community
Testing
Completed target validation
Tested by the maintainer on a physical ROG Xbox Ally X running Bazzite Stable with Windows dual boot:
BootNext: 0003, exactly matchingBoot0003* Windows Boot Manager.BootNexthad been consumed and persistentBootOrderremained unchanged.Automated validation:
Related Bazzite tracking issue: ublue-os/bazzite#5572
Plugin source and implementation review: nileshchakraborty/restart-to-windows#1