[yabridgectl] Split up Vst3Module

So we can add easily add additional fields later.
This commit is contained in:
Robbert van der Helm
2021-01-03 21:40:36 +01:00
parent 71eadff1ed
commit cd4752116a
2 changed files with 35 additions and 32 deletions
+2 -2
View File
@@ -250,14 +250,14 @@ pub fn do_sync(config: &mut Config, options: &SyncOptions) -> Result<()> {
let already_installed_architectures = yabridge_vst3_bundles
.entry(module.target_bundle_home())
.or_insert_with(BTreeSet::new);
if !already_installed_architectures.insert(module.architecture()) {
if !already_installed_architectures.insert(module.architecture) {
eprintln!(
"{}",
utils::wrap(&format!(
"{}: The {} version of '{}' has already been provided by another Wine \
prefix, skipping '{}'\n",
"WARNING".red(),
module.architecture(),
module.architecture,
module.target_bundle_home().display(),
module.original_module_path().display(),
))