From 29d110aee7f565ae820400bc0c8afbbf6a055338 Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Sun, 30 Jan 2022 00:24:44 +0100 Subject: [PATCH] Fix path for VST3 bundle creation --- xtask/src/main.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/xtask/src/main.rs b/xtask/src/main.rs index a2ff57b5..63453cde 100644 --- a/xtask/src/main.rs +++ b/xtask/src/main.rs @@ -96,26 +96,26 @@ fn library_name(target: &str) -> String { #[cfg(all(target_os = "linux", target_arch = "x86_64"))] fn vst3_bundle_library_name(target: &str) -> String { - format!("{target}.vst3/x86_64-linux/{target}.so") + format!("{target}.vst3/Contents/x86_64-linux/{target}.so") } #[cfg(all(target_os = "linux", target_arch = "x86"))] fn vst3_bundle_library_name(target: &str) -> String { - format!("{target}.vst3/i386-linux/{target}.so") + format!("{target}.vst3/Contents/i386-linux/{target}.so") } // TODO: This should be a Mach-O bundle, not sure how that works #[cfg(target_os = "macos")] fn vst3_bundle_library_name(target: &str) -> String { - format!("{target}.vst3/MacOS/{target}") + format!("{target}.vst3/Contents/MacOS/{target}") } #[cfg(all(target_os = "windows", target_arch = "x86_64"))] fn vst3_bundle_library_name(target: &str) -> String { - format!("{target}.vst3/x86_64-win/{target}.vst3") + format!("{target}.vst3/Contents/x86_64-win/{target}.vst3") } #[cfg(all(target_os = "windows", target_arch = "x86"))] fn vst3_bundle_library_name(target: &str) -> String { - format!("{target}.vst3/x86-win/{target}.vst3") + format!("{target}.vst3/Contents/x86-win/{target}.vst3") }