mirror of
https://gitlab.com/vyla-entertainment/home.git
synced 2026-11-21 01:25:39 -05:00
resolve Rust state lifetime errors in Node service handlers
This commit is contained in:
@@ -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();
|
||||
}
|
||||
Reference in New Issue
Block a user