Skip to content
Source
Sign inSign up
pingdotgg/t3code

refactor(shared): host process references live in a HostProcess module #17641

Mergedjuliusmarmingemerged 1 commit intot3/host-home-directory fromrefs/pull/17641/headmerged by juliusmarminge View on GitHub

Showing 234 changed files with 13 additions and 13 deletions (loading 231).

x
0 of 234 viewed, 234 left
2 additions and 2 deletionsapps/desktop/src/app/DesktopApp.tsModified
View file
@@ -35,7 +35,7 @@
import * as DesktopSnapShot from "../snapShot/DesktopSnapShot.ts";
import * as DesktopWslBackend from "../wsl/DesktopWslBackend.ts";
import * as DesktopRendererHistory from "../telemetry/DesktopRendererHistory.ts";
-import { HostProcessHomeDirectory } from "@t3tools/shared/hostProcess";
+import * as HostProcess from "@t3tools/shared/HostProcess";
​
const DEFAULT_DESKTOP_BACKEND_PORT = 3773;
const MAX_TCP_PORT = 65_535;
@@ -286,7 +286,7 @@
const linuxElectronOptions =
environment.platform === "linux" && !hasCommandLinePasswordStore
? DesktopPreReadyPlatform.resolveEarlyLinuxElectronOptionsFromProcess(
- yield* HostProcessHomeDirectory,
+ yield* HostProcess.HomeDirectory,
: preReadyElectronOptions.linux;
if (linuxElectronOptions !== null && !hasCommandLinePasswordStore) {
9 additions and 9 deletionsapps/desktop/src/app/DesktopAppActivation.test.tsModified
View file
@@ -11,7 +11,7 @@
type DesktopAppActivationResponse,
} from "@t3tools/contracts";
import { resolveDesktopAppControlAddress } from "@t3tools/shared/desktopAppControl";
-import { HostProcessPlatform, HostProcessUserId } from "@t3tools/shared/hostProcess";
+import * as HostProcess from "@t3tools/shared/HostProcess";
import { it } from "@effect/vitest";