Skip to content

Add modrinth://launch deep link to start a profile#6123

Open
DJCheesusReal wants to merge 11 commits into
modrinth:mainfrom
DJCheesusReal:feat/external-profile-launch
Open

Add modrinth://launch deep link to start a profile#6123
DJCheesusReal wants to merge 11 commits into
modrinth:mainfrom
DJCheesusReal:feat/external-profile-launch

Conversation

@DJCheesusReal
Copy link
Copy Markdown

@DJCheesusReal DJCheesusReal commented May 17, 2026

Summary

  • Add modrinth://launch/{profile_path} deep link support for external profile launching
  • Parse the URL in the app backend and emit a LaunchProfile command to the frontend
  • Handle the command in the app UI by calling the existing run() profile launcher (e.g. Stream Deck, shortcuts, automation)

Test plan

  • Build the desktop app and install/run it
  • Create or note an existing instance profile path id
  • With the app running, run start modrinth://launch/YourProfilePathId in PowerShell
  • Confirm the specified profile launches
  • Confirm other deep links still work (modrinth://mod/..., modrinth://modpack/..., etc.)
  • Confirm invalid paths show the existing unrecognized-path warning

Support external profile launching via modrinth://launch/{profile_path} for integrations such as Stream Deck.

Co-authored-by: Cursor <cursoragent@cursor.com>
@modrinth-bot
Copy link
Copy Markdown
Member

Pull request changelog

App

Added

Changed

Deprecated

Removed

Fixed

Security

Website

Added

Changed

Deprecated

Removed

Fixed

Security

Hosting

Added

Changed

Deprecated

Removed

Fixed

Security

Comment thread packages/app-lib/src/api/handler.rs Outdated
@IMB11 IMB11 mentioned this pull request Jun 5, 2026
@DJCheesusReal
Copy link
Copy Markdown
Author

Good call, updated the route to /launch/profile/{id}\ to leave room for future launch targets.

DJCheesusReal and others added 3 commits June 6, 2026 20:09
- Increase Gradle network timeout from 10s to 120s to prevent
  download timeouts when building theseus
- Cache Gradle wrapper distributions and caches in CI to avoid
  re-downloading on every run
restore-keys: |
pnpm-cache-

- name: Cache Gradle distribution
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.

Why was CI touched in this PR?

@DJCheesusReal DJCheesusReal force-pushed the feat/external-profile-launch branch from 954a198 to ce7ca2e Compare June 6, 2026 19:22
@DJCheesusReal DJCheesusReal force-pushed the feat/external-profile-launch branch from 493768c to ace09d3 Compare June 6, 2026 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants