feat(desktop): add per-instance desktop shortcut toggle

This commit is contained in:
objz committed 2026-04-05 15:12:48 +02:00
1 parent 3047086fa2
commit e18b18c0be
9 files changed
+172 -5

No files matched your search

+6
View File
@@ -98,6 +98,12 @@ fn build_command() -> Command {
.arg_required_else_help(true)
.arg(Arg::new("name").required(true).action(ArgAction::Set))
.arg(Arg::new("set").long("set").action(ArgAction::Set)),
)
.subcommand(
Command::new("desktop")
.about("Toggle desktop shortcut for an instance")
.arg_required_else_help(true)
.arg(Arg::new("name").required(true).action(ArgAction::Set)),
),
)
.subcommand(build_content_command("mod", "mods"))