Python
Create the sidecar resource dir in build.rs so a fresh clone builds
Rexe241019e61a5
diff --git a/surfaces/gui/src-tauri/build.rs b/surfaces/gui/src-tauri/build.rsindex d860e1e6..809337b5 100644--- a/surfaces/gui/src-tauri/build.rs+++ b/surfaces/gui/src-tauri/build.rs@@ -1,3 +1,10 @@fn main() {+ // tauri-build validates every `bundle.resources` path on every build, dev included, but+ // `binaries/sidecar` is only staged by the release scripts and `/binaries` is gitignored —+ // so a fresh checkout died on `resource path 'binaries/sidecar' doesn't exist`. Dev needs no+ // packaged server (`server_bin()` falls back to the venv) and empty resource dirs are+ // skipped, so a placeholder is enough.+ std::fs::create_dir_all("binaries/sidecar").expect("create the sidecar resource dir");+tauri_build::build()}