Skip to content

One-click shortcuts to launch instances - #145

Merged
Mrmayman merged 31 commits into
mainfrom
instance-shortcuts
Feb 22, 2026
Merged

Mrmayman merged 31 commits into
mainfrom
instance-shortcuts

Conversation

@Mrmayman

@Mrmayman Mrmayman commented Feb 10, 2026 •

Copy link
Copy Markdown
Owner

This PR adds the ability to create shortcuts for instances, that you can then use to launch the game without opening the launcher.

  • Frontend UI
  • Linux (.desktop)
    • Custom location (file picker), Desktop
    • Start menu/applications
  • Windows (.lnk)
    • Custom location (file picker), Desktop
    • Start menu/applications
  • macOS (.app)
    • .app bundle generation + metadata + xattr stuff
    • Custom location (file picker), Desktop
    • Start menu/applications
  • Handle qldir and other edge cases
  • Fix that one Windows API warning copilot said
image

@Mrmayman
Mrmayman marked this pull request as ready for review February 18, 2026 15:13
@Mrmayman
Mrmayman requested a review from Copilot February 18, 2026 15:13

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@Mrmayman

Copy link
Copy Markdown
Owner Author

btw for anyone reading this, dw I'm not relying on AI slop to code, i'm just making it check my work as a last-minute thing

@Mrmayman
Mrmayman requested a review from Copilot February 21, 2026 16:44

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 30 out of 32 changed files in this pull request and generated 5 comments.

Comments suppressed due to low confidence (1)

quantum_launcher/src/cli/mod.rs:213

  • If file_utils::get_launcher_dir() failed earlier (is_dir_err == true), this exits even when --dir is provided (and you already set QLDIR + launcher_dir above). That makes --dir unable to recover from a bad/missing default dir. Consider skipping the early-exit when cli.dir.is_some() (or recomputing is_dir_err after applying --dir).
    if let Some(p) = &cli.dir {
        *launcher_dir = Some(p.clone());
        std::env::set_var("QLDIR", p);
    }

    if let Some(subcommand) = cli.command {
        if is_dir_err {
            std::process::exit(1);
        }

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread crates/ezshortcut/src/os/macos.rs Resolved
Comment thread crates/ezshortcut/src/os/unix.rs Resolved
Comment thread crates/ezshortcut/src/os/unix.rs Resolved
Comment thread crates/ezshortcut/src/os/windows.rs Resolved

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 47 out of 49 changed files in this pull request and generated 4 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread crates/ezshortcut/src/lib.rs Resolved
Comment thread quantum_launcher/src/cli/command.rs Resolved
Comment thread quantum_launcher/src/cli/command.rs Resolved
@Mrmayman
Mrmayman merged commit ade4199 into main Feb 22, 2026
4 checks passed
@Mrmayman
Mrmayman deleted the instance-shortcuts branch February 22, 2026 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants