feat(desktop): add per-instance desktop shortcut toggle
This commit is contained in:
1 parent
3047086fa2
commit
e18b18c0be
9 files changed
+172
-5
No files matched your search
@@ -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"))
|
||||
|
||||
Reference in new issue
Block a user