Skip to content

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

Open
DJCheesusReal wants to merge 1 commit into
modrinth:mainfrom
DJCheesusReal:feat/external-profile-launch
Open

Add modrinth://launch deep link to start a profile#6123
DJCheesusReal wants to merge 1 commit 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

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.

2 participants