mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 03:50:11 +02:00
[yabridgectl] Partially revert 5ea04c4
We should be a bit more clever about this. This approach would mean that the plugin would be rescanned every time, since the whole 'don't reinstall plugins if that wouldn't change anything' thing no longer works with this approach.
This commit is contained in:
@@ -306,15 +306,17 @@ pub fn do_sync(config: &mut Config, options: &SyncOptions) -> Result<()> {
|
||||
continue;
|
||||
}
|
||||
|
||||
// NOTE: We need to make sure the VST3 bundle is completely empty before setting
|
||||
// it up. Otherwise you would it would contain orphan plugin files after
|
||||
// uninstalling the 32-bit version of a VST3 plugin while the 64-bit
|
||||
// version is still installed, or when switching between the 32-bit and
|
||||
// the 64-bit versions of yabridge
|
||||
if !*updated_libyabridge && target_bundle_home.exists() {
|
||||
utils::remove_dir_all(target_bundle_home)
|
||||
.context("Could not clean up old VST3 bundle")?;
|
||||
}
|
||||
// FIXME: We should be more specific in this process and only remove the
|
||||
// unwanted directories from `Contents`, because this will force rescans
|
||||
// // NOTE: We need to make sure the VST3 bundle is completely empty before setting
|
||||
// // it up. Otherwise you would it would contain orphan plugin files after
|
||||
// // uninstalling the 32-bit version of a VST3 plugin while the 64-bit
|
||||
// // version is still installed, or when switching between the 32-bit and
|
||||
// // the 64-bit versions of yabridge
|
||||
// if !*updated_libyabridge && target_bundle_home.exists() {
|
||||
// utils::remove_dir_all(target_bundle_home)
|
||||
// .context("Could not clean up old VST3 bundle")?;
|
||||
// }
|
||||
|
||||
// We're building a merged VST3 bundle containing both a copy or symlink to
|
||||
// `libyabridge-vst3.so` and the Windows VST3 plugin. The path to this native
|
||||
|
||||
Reference in New Issue
Block a user