resolve Rust state lifetime errors in Node service handlers

This commit is contained in:
2026-09-05 11:00:31 -07:00
parent c986194e64
commit 11d6c346e8
3 changed files with 201 additions and 185 deletions

View File

@@ -15,6 +15,18 @@ fn main() {
}
}
}
#[cfg(unix)]
{
use std::os::unix::fs::PermissionsExt;
let node_path = std::path::Path::new("../bin/node");
if node_path.exists() {
let _ = std::fs::set_permissions(
node_path,
std::fs::Permissions::from_mode(0o755),
);
}
}
tauri_build::build();
}