From df1bc2b42900bfdff1e0e021e27bce2b1057af7d Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Sun, 6 Feb 2022 01:35:12 +0100 Subject: [PATCH] Fix the printed VST3 bundle path --- xtask/src/main.rs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/xtask/src/main.rs b/xtask/src/main.rs index ca0487c8..75be0ce6 100644 --- a/xtask/src/main.rs +++ b/xtask/src/main.rs @@ -66,7 +66,13 @@ fn bundle(target: &str, mut args: Vec) -> Result<()> { eprintln!(); if bundle_vst3 { 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()) .context("Could not create bundle directory")?;