mirror of
https://github.com/robbert-vdh/nih-plug.git
synced 2026-07-01 02:36:54 +00:00
Fix the printed VST3 bundle path
This commit is contained in:
@@ -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")?;
|
||||||
|
|||||||
Reference in New Issue
Block a user