Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added binary execution permission check for Linux and macOS
Added check if the binary file has execution permissions on Linux and macOS. Using #[cfg(unix)] to conditionally include the code for Unix-based systems. If the binary does not have execution permissions, it attempts to change the permissions to allow execution using the set_mode() function from std::os::unix::fs::PermissionsExt and fs::set_permissions() from the std::fs module.
- Loading branch information