mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-06-15 07:53:55 +02:00
Add an option to disable setup checks
The path check should only take a few milliseconds to run, but checking whether yabridge-host.exe runs correctly could take over a second when wineserver isn't already running in the background.
This commit is contained in:
@@ -100,6 +100,12 @@ fn main() -> Result<()> {
|
||||
.subcommand(
|
||||
App::new("sync")
|
||||
.about("Set up or update yabridge for all plugins")
|
||||
.arg(
|
||||
Arg::with_name("no-verify")
|
||||
.short('n')
|
||||
.long("no-verify")
|
||||
.about("Skip post-installation setup checks"),
|
||||
)
|
||||
.arg(
|
||||
Arg::with_name("prune")
|
||||
.short('p')
|
||||
@@ -136,6 +142,7 @@ fn main() -> Result<()> {
|
||||
("sync", Some(options)) => actions::do_sync(
|
||||
&config,
|
||||
&actions::SyncOptions {
|
||||
no_verify: options.is_present("no-verify"),
|
||||
prune: options.is_present("prune"),
|
||||
verbose: options.is_present("verbose"),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user