1
0
Fork 0

Fix the printed VST3 bundle path

This commit is contained in:
Robbert van der Helm 2022-02-06 01:35:12 +01:00
parent bf070fce5a
commit df1bc2b429

View file

@ -66,7 +66,13 @@ fn bundle(target: &str, mut args: Vec<String>) -> Result<()> {
eprintln!(); eprintln!();
if bundle_vst3 { if bundle_vst3 {
let vst3_lib_path = Path::new("target").join(vst3_bundle_library_name(target)); let vst3_lib_path = Path::new("target").join(vst3_bundle_library_name(target));
let vst3_bundle_home = vst3_lib_path.parent().unwrap().parent().unwrap(); let vst3_bundle_home = vst3_lib_path
.parent()
.unwrap()
.parent()
.unwrap()
.parent()
.unwrap();
fs::create_dir_all(vst3_lib_path.parent().unwrap()) fs::create_dir_all(vst3_lib_path.parent().unwrap())
.context("Could not create bundle directory")?; .context("Could not create bundle directory")?;