mirror of
https://github.com/robcholz/vibebox.git
synced 2026-06-09 09:23:53 +02:00
feat: allow multi vibebox to connect to the same vm.
This commit is contained in:
@@ -1358,6 +1358,9 @@ impl Drop for RawModeGuard {
|
||||
|
||||
// Ensure the running binary has com.apple.security.virtualization entitlements by checking and, if not, signing and relaunching.
|
||||
pub fn ensure_signed() {
|
||||
if std::env::var("VIBEBOX_SKIP_CODESIGN").as_deref() == Ok("1") {
|
||||
return;
|
||||
}
|
||||
let exe = std::env::current_exe().expect("failed to get current exe path");
|
||||
let exe_str = exe.to_str().expect("exe path not valid utf-8");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user