launcher: one launcher at a time, a second start brings the first to the front (upstream 64f517d) #70
No reviewers
Labels
No labels
accessibility
amd
bug
crash
device-removed
documentation
duplicate
enhancement
feature-request
good first issue
help wanted
input
invalid
launcher
memory
needs-logs
nvidia
off-topic
performance
question
shaders
stutter
visuals
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/VGLALALA--ReVictory-RDNA3!70
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-70"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@Kal0s-design on GitHub · 2026-12-05 20:03 UTC · original
Kal0s-design:port/single-launcher→main· +90 −3 · 2 files · 1 commits · merged 2026-12-05 22:31 UTCFrom upstream ReVIctory (64f517d, author kept), applied without conflicts. Opening the launcher a second time, a double click too many or a second shortcut, used to start a second launcher window, and two launchers can start jobs and write launcher.txt over each other. Now the launcher claims a per-session named mutex at start. If another launcher holds it, the new one finds that window by its class, restores it if minimized, brings it to the front and exits. If the mutex can't be created at all it fails open and the launcher starts as before.
I checked how this fork starts itself again, since a single-instance lock could block that. The game, warm and check runs are started with arguments, so they never reach the launcher entry (that's only taken without arguments), and the in-game menu's Restart game is handled inside the running launcher's loop, without a new launcher process. So none of them hit the lock.
Clippy -D warnings is clean in both of the Lint workflow's runs and the victory app's tests pass (59), including the new one that takes the mutex, fails a second take while held and succeeds after release.
AI-assisted: yes
🤖 Generated with Claude Code
7368f9b0c9tobe3b1ef5b3