feat(connect): keep macOS hosts reachable after reboot

This commit is contained in:
Theo Browne committed 2026-07-30 03:16:05 -07:00
1 parent 90f3913a81
commit ec3c5f68d2
12 files changed
+690 -91

No files matched your search

+7
View File
@@ -51,4 +51,11 @@ export const HostProcessArguments = Context.Reference<ReadonlyArray<string>>(
},
);
export const HostProcessUserId = Context.Reference<number | null>(
"@t3tools/shared/hostProcess/HostProcessUserId",
{
defaultValue: () => (typeof process.getuid === "function" ? process.getuid() : null),
},
);
export const isHostWindows = Effect.map(HostProcessPlatform, (platform) => platform === "win32");