oasis_test 0.1.99 → 0.1.100
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/index.js +2 -2
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -199338,7 +199338,7 @@ function syncRuntimeAssets(candidateRoots, binDir) {
|
|
|
199338
199338
|
}
|
|
199339
199339
|
|
|
199340
199340
|
// src/index.ts
|
|
199341
|
-
var PKG_VERSION = true ? "0.1.
|
|
199341
|
+
var PKG_VERSION = true ? "0.1.100" : "dev";
|
|
199342
199342
|
var OASIS_DIR = path25.join(os10.homedir(), ".oasis");
|
|
199343
199343
|
var CONFIG_FILE = path25.join(OASIS_DIR, "node-config.json");
|
|
199344
199344
|
var PID_FILE = path25.join(OASIS_DIR, "node.pid");
|
|
@@ -199507,7 +199507,7 @@ function selfUpdate() {
|
|
|
199507
199507
|
const inner = `{ echo "[oasis] self-update \u2192 ${PKG_NAME}@latest (registry ${OFFICIAL}, \u5931\u8D25\u56DE\u843D\u9ED8\u8BA4\u6E90)"; sleep 2; { ${installOfficial} || ${installFallback}; } && ${printVersion} && ${startCmd}; } >> '${LOG_FILE}' 2>&1`;
|
|
199508
199508
|
const hasSystemd = process.platform === "linux" && (() => {
|
|
199509
199509
|
try {
|
|
199510
|
-
(0, import_node_child_process16.execSync)("
|
|
199510
|
+
(0, import_node_child_process16.execSync)("systemd-run --user --scope --quiet -- true", { stdio: "ignore" });
|
|
199511
199511
|
return true;
|
|
199512
199512
|
} catch {
|
|
199513
199513
|
return false;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oasis_test",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.100",
|
|
4
4
|
"description": "Oasis node daemon + CLI — background daemon, auto-start, full server CLI",
|
|
5
5
|
"bin": {
|
|
6
6
|
"oasis": "./dist/index.js"
|
|
@@ -26,6 +26,6 @@
|
|
|
26
26
|
"node": ">=20"
|
|
27
27
|
},
|
|
28
28
|
"oasisRelease": {
|
|
29
|
-
"sourceHead": "
|
|
29
|
+
"sourceHead": "ad268c31cef9e92e82f2219201a115b255a5de0b"
|
|
30
30
|
}
|
|
31
31
|
}
|