@phreshos/cli 0.1.49 → 0.1.50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/system/lifecycle.js
CHANGED
|
@@ -5,10 +5,8 @@ import systemPaths from "./paths.js";
|
|
|
5
5
|
import systemService from "./service/index.js";
|
|
6
6
|
import nodeExecutable from "./node.js";
|
|
7
7
|
import installProgram from "../install.js";
|
|
8
|
-
import phreshosHome from "../home.js";
|
|
9
8
|
import { existsSync } from "node:fs";
|
|
10
9
|
import { mkdir, readFile, rm, writeFile } from "node:fs/promises";
|
|
11
|
-
import { homedir } from "node:os";
|
|
12
10
|
import { dirname, join } from "node:path";
|
|
13
11
|
/** Coordinates acquisition, immutable files, and the native service as one transaction. */
|
|
14
12
|
export default class SystemLifecycle {
|
|
@@ -212,8 +210,6 @@ function definition(installation, executable) {
|
|
|
212
210
|
executable,
|
|
213
211
|
entry: join(installation.paths.current, "server", "main.js"),
|
|
214
212
|
arguments: [
|
|
215
|
-
"--default-home",
|
|
216
|
-
phreshosHome({}, homedir()),
|
|
217
213
|
"--home-request",
|
|
218
214
|
installation.paths.homeRequest,
|
|
219
215
|
"--port-request",
|