feat(connect): keep macOS hosts reachable after reboot
This commit is contained in:
12 files changed
+690
-91
No files matched your search
@@ -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");
|
||||
Reference in new issue
Block a user