refactor(env): refactor env module
test / test (push) Failing after 31m39s

This commit is contained in:
2026-10-27 01:18:23 +03:00
parent cf3a707a47
commit fc7f97b520
6 changed files with 33 additions and 27 deletions
+4 -4
View File
@@ -1,7 +1,7 @@
import fs from "fs";
import os from "os";
import path from "path";
import { Env } from "../common/env";
import env from "../common/env";
import { Sdk } from "../core/sdk";
import run from "../run/index";
@@ -63,9 +63,9 @@ export class Neko extends Sdk {
}
activate() {
Env.set("NEKO_INSTPATH", this.path);
Env.addPath(this.path);
Env.addPath(this.path, "LD_LIBRARY_PATH");
env.set("NEKO_INSTPATH", this.path);
env.addPath(this.path);
env.addPath(this.path, "LD_LIBRARY_PATH");
}
prepare() {