feat: allow multi vibebox to connect to the same vm.

This commit is contained in:
robcholz
2026-02-07 00:22:24 -05:00
parent 61d3105832
commit ca33633d28
10 changed files with 884 additions and 59 deletions
+3
View File
@@ -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");