feat(server): run the background service on macOS via launchd (#6286)
Co-authored-by: Claude Fable 5 <[email protected]>
This commit is contained in:
1 parent
7441b36926
commit
2aa5f095fc
11 files changed
+531
-78
No files matched your search
@@ -51,4 +51,12 @@ export const HostProcessArguments = Context.Reference<ReadonlyArray<string>>(
|
||||
},
|
||||
);
|
||||
|
||||
/** Undefined on platforms without POSIX uids (Windows). */
|
||||
export const HostProcessUserId = Context.Reference<number | undefined>(
|
||||
"@t3tools/shared/hostProcess/HostProcessUserId",
|
||||
{
|
||||
defaultValue: () => process.getuid?.(),
|
||||
},
|
||||
);
|
||||
|
||||
export const isHostWindows = Effect.map(HostProcessPlatform, (platform) => platform === "win32");
|
||||
Reference in new issue
Block a user