mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-06 19:40:10 +02:00
[yabridgectl] Verify existence of .exe.so files
This should not be a problem, but a packaging or copying screwup could still cause these files to not be present.
This commit is contained in:
@@ -308,11 +308,13 @@ impl Config {
|
|||||||
let yabridge_host_exe = which(YABRIDGE_HOST_EXE_NAME).ok();
|
let yabridge_host_exe = which(YABRIDGE_HOST_EXE_NAME).ok();
|
||||||
let yabridge_host_exe_so = yabridge_host_exe
|
let yabridge_host_exe_so = yabridge_host_exe
|
||||||
.as_ref()
|
.as_ref()
|
||||||
.map(|path| path.with_extension("exe.so"));
|
.map(|path| path.with_extension("exe.so"))
|
||||||
|
.filter(|path| path.exists());
|
||||||
let yabridge_host_32_exe = which(YABRIDGE_HOST_32_EXE_NAME).ok();
|
let yabridge_host_32_exe = which(YABRIDGE_HOST_32_EXE_NAME).ok();
|
||||||
let yabridge_host_32_exe_so = yabridge_host_32_exe
|
let yabridge_host_32_exe_so = yabridge_host_32_exe
|
||||||
.as_ref()
|
.as_ref()
|
||||||
.map(|path| path.with_extension("exe.so"));
|
.map(|path| path.with_extension("exe.so"))
|
||||||
|
.filter(|path| path.exists());
|
||||||
|
|
||||||
Ok(YabridgeFiles {
|
Ok(YabridgeFiles {
|
||||||
vst2_chainloader,
|
vst2_chainloader,
|
||||||
|
|||||||
Reference in New Issue
Block a user