[yabridgectl] Symlink VST 3.6.10 bundle resources

Although I haven't run into any of these 'new' bundles yet. Everything's
still in the legacy format.
This commit is contained in:
Robbert van der Helm
2020-12-24 12:45:14 +01:00
parent a0098034ed
commit d79ccc75e6
2 changed files with 40 additions and 1 deletions
+13 -1
View File
@@ -282,7 +282,19 @@ pub fn do_sync(config: &mut Config, options: &SyncOptions) -> Result<()> {
&windows_module_path,
)?;
// TODO: Symlink resources and presets
// If `module` is a bundle, then it may contain a `Resources` directory with
// screenshots and documentation
// TODO: Also symlink presets, but this is a bit more involved. See
// https://steinbergmedia.github.io/vst3_doc/vstinterfaces/vst3loc.html#win7preset
if let Some(original_resources_dir) = module.original_resources_dir() {
install_file(
false,
InstallationMethod::Symlink,
&original_resources_dir,
None,
&module.target_resources_dir(),
)?;
}
if options.verbose {
println!(" {}", module.original_path().display());