r2modman: handle ror2mm:// links (#410692)

Allow r2modman to handle ror2mm://

This change allows users to install mods using the "Install with Mod Manager" button on Thunderstore
This commit is contained in:
fred21O4 2025-06-01 17:08:13 +00:00 committed by GitHub
parent 9858755c27
commit 772af2695b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -95,11 +95,12 @@ stdenv.mkDerivation (finalAttrs: {
desktopItems = [ desktopItems = [
(makeDesktopItem { (makeDesktopItem {
name = "r2modman"; name = "r2modman";
exec = "r2modman"; exec = "r2modman %U";
icon = "r2modman"; icon = "r2modman";
desktopName = "r2modman"; desktopName = "r2modman";
comment = finalAttrs.meta.description; comment = finalAttrs.meta.description;
categories = [ "Game" ]; categories = [ "Game" ];
mimeTypes = [ "x-scheme-handler/ror2mm" ];
keywords = [ keywords = [
"launcher" "launcher"
"mod manager" "mod manager"