build: bundle native_host bridges + fluidsynth runtime vao installer (build_windows.ps1 [4b/6], SF_RESOURCE_DIR fallback, tauri resources native_host)

This commit is contained in:
2026-08-11 18:48:06 +07:00
parent 94dc7dcf12
commit 916ce1334b
8 changed files with 45 additions and 4 deletions
+1
View File
@@ -138,6 +138,7 @@ pub fn run() {
.shell()
.command(&engine_exe)
.env("SF_PARENT_PID", std::process::id().to_string())
.env("SF_RESOURCE_DIR", res_dir.to_string_lossy().to_string())
.spawn()
{
Ok((_rx, child)) => {
+1
View File
@@ -93,6 +93,7 @@ mod native {
if let Ok(res) = app.path().resource_dir() {
candidates.push(res.join(name));
candidates.push(res.join("native").join(name));
candidates.push(res.join("native_host").join(name));
}
if let Ok(exe) = std::env::current_exe() {
if let Some(dir) = exe.parent() {
+2 -1
View File
@@ -33,7 +33,8 @@
"icons/favicon.ico"
],
"resources": {
"resources/daw_engine": "daw_engine/"
"resources/daw_engine": "daw_engine/",
"resources/native_host": "native_host/"
},
"externalBin": [],
"windows": {