Repository navigation
Start with your PC, in the system's own startup list; Run in background is Close to tray - #367
Merged
elripalda merged 7 commits intoNov 20, 2026
Conversation
The launcher can start when the player signs in, waiting by the clock (--background) until it's opened. The entry goes where the system lists startup programs, so the player can also see and turn it off there: the Run key on Windows (Startup apps, Task Manager), an XDG autostart file on Linux (Plasma's and GNOME's Autostart pages), the Background portal for the Flatpak, and Login Items (SMAppService) on macOS 13 and newer. At each start the saved choice follows that list, and an entry still there is written again so it follows a moved launcher.
Under Starting up, where the system can do it. The switch goes through its own command and shows what the system took, so a desktop that says no leaves it off with a message. Translated into every full language.
The setting's usual name. Translated into every full language; the saved setting and its behaviour are unchanged.
Xarishark
marked this pull request as draft
November 20, 2026 17:45
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.
What this changes
Settings → General → Starting up → Start with your PC (also in Big Picture settings). With it on, the launcher starts when the player signs in and waits in the tray (
--background), like Steam, until it's opened from the tray or started again.The entry goes in each system's own startup list, so the player sees it there and can turn it off there too:
HKCU\…\Runkey (Startup apps, Task Manager). Turned off in Task Manager (theStartupApprovedmark) reads as off; turning the switch on clears that mark.~/.config/autostart/recomplauncher.desktop, which Plasma's and GNOME's Autostart pages list. It's written only when it changes. It names the theme icon when the launcher is installed, and otherwise a copy of the icon in the data folder (AppImage, a build run from its folder).Hidden=true(Plasma) orX-GNOME-Autostart-enabled=falsereads as off.RequestBackground, autostart on/off), which writes the autostart file for the app. No new manifest permission. The sandbox can't read that file, so the choice is kept in settings there.SMAppService.mainAppService. A login item starts with no arguments, so on a Mac the window opens at login. Older macOS doesn't show the switch.At each start the saved choice follows the system's list (turned off there means off here), and an entry still there is written again so it follows a moved launcher. The switch goes through its own command (
set_start_at_login) and shows what the system took; a desktop that says no or doesn't answer leaves it off with a message.Also: Run in background is renamed Close to tray (same setting and behaviour, all full languages).
New dependencies, both already in or next to the existing tree:
zbus5 (Linux only; already built for the single-instance and notification plugins) andobjc2-service-management0.3 (macOS only, same objc2 family). The new code is mostly insrc-tauri/src/autostart.rs, plus small registry helpers inwin.rs. All new text is translated in every full language. There's a paragraph in the README; the patch notes line is for Beta 67, collected separately.How you tested it
cargo test: Linux 905 passed, Windows 840 passed (10 new unit tests inautostart.rs, 1 inlibrary.rs).node --test tests/*.test.cjs: 564 passed (newtests/start-at-login.test.cjs;background-settingsupdated for the rename).tools/launcher-i18n.py --check: no new text missing.KDE Plasma (Bazzite VM), in the launcher: the switch writes and removes the autostart file, Plasma's Autostart page lists it with the launcher's icon, and an entry turned off there turns the switch off at the next start. In a real Plasma session, the generated
[email protected](what Plasma runs at login) started it with no window or taskbar entry, the tray icon registered, and a second start opened the window.Flatpak (built locally from this branch): the portal wrote
com.recomplauncher.RecompLauncher.desktop(flatpak run --command=recomplauncher … --background) and removed it again. Plasma lists it with a plain icon, because the portal's file names none. KDE didn't ask; GNOME's dialog is untested.Windows VM: the Run key is written and listed by
Win32_StartupCommand, a Task Manager off mark reads as off, turning on clears it, and off removes both values. The hidden start in the Windows desktop is untested.macOS: the Mac code type-checks for
aarch64-apple-darwinagainst the real crate, but it hasn't run on a Mac.npm testpassesnode --test tests/*.test.cjspassesTried it in the launcher (Linux debug build and the Flatpak; Windows through the registry calls)
Checklist
recomplauncher.json: not applicablePatch notes (Beta 67)
For
docs/PATCH-NOTES-0.90-beta-67.md, under Everything else:For the website (SDK guide): none.