Fix the printed VST3 bundle path
This commit is contained in:
parent
bf070fce5a
commit
df1bc2b429
|
@ -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")?;
|
||||||
|
|
Loading…
Reference in a new issue