@lob-ox/core-darwin-x64 0.0.15 → 0.0.16

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.
Files changed (2) hide show
  1. package/core.cjs +3 -15
  2. package/package.json +1 -1
package/core.cjs CHANGED
@@ -972,8 +972,6 @@ var require_brand = __commonJS({
972
972
  var ENV_PLATFORM_OVERRIDE = "DSH_PLATFORM_OVERRIDE";
973
973
  var ENV_ESBUILD_VERSION = "DSH_ESBUILD_VERSION";
974
974
  var ENV_VERSION_LIB = "DSH_VERSION_LIB";
975
- var WINDOWS_GUARD_TASK = "Lobox";
976
- var WINDOWS_WATCHDOG_TASK = "Lobox-Watchdog";
977
975
  var WINDOWS_GUI_TASK = "Lobox-Shell";
978
976
  var WINDOWS_RUN_VALUE = "Lobox";
979
977
  var SYSTEMD_UNIT_NAME = "lobox";
@@ -1094,8 +1092,6 @@ var require_brand = __commonJS({
1094
1092
  ENV_PLATFORM_OVERRIDE,
1095
1093
  ENV_ESBUILD_VERSION,
1096
1094
  ENV_VERSION_LIB,
1097
- WINDOWS_GUARD_TASK,
1098
- WINDOWS_WATCHDOG_TASK,
1099
1095
  WINDOWS_GUI_TASK,
1100
1096
  WINDOWS_RUN_VALUE,
1101
1097
  SYSTEMD_UNIT_NAME,
@@ -1471,7 +1467,7 @@ var require_version = __commonJS({
1471
1467
  var fs2 = require("node:fs");
1472
1468
  var path2 = require("node:path");
1473
1469
  function guardVersion() {
1474
- if (true) return String("0.0.15");
1470
+ if (true) return String("0.0.16");
1475
1471
  try {
1476
1472
  return JSON.parse(fs2.readFileSync(path2.join(__dirname, "..", "..", "package.json"), "utf8")).version || "unknown";
1477
1473
  } catch {
@@ -7362,10 +7358,8 @@ var require_win32 = __commonJS({
7362
7358
  }
7363
7359
  }
7364
7360
  function status() {
7365
- const guard = hasTask(BRAND2.WINDOWS_GUARD_TASK);
7366
7361
  const gui = hasTask(BRAND2.WINDOWS_GUI_TASK);
7367
- const watchdog = hasTask(BRAND2.WINDOWS_WATCHDOG_TASK);
7368
- return { kind: "schtasks", on: guard || gui || watchdog, gui, watchdog, guard };
7362
+ return { kind: "schtasks", on: gui, gui };
7369
7363
  }
7370
7364
  function setAutostart(on, deps) {
7371
7365
  const errors = [];
@@ -7658,13 +7652,7 @@ var require_autostart = __commonJS({
7658
7652
  var isLinux = process.platform === "linux";
7659
7653
  var isMac = process.platform === "darwin";
7660
7654
  var isWindows = process.platform === "win32";
7661
- var CLI_EXE = isWindows ? BRAND2.CLI_NAME + ".exe" : BRAND2.CLI_NAME;
7662
7655
  var GUI_EXE = isWindows ? BRAND2.GUI_BIN_NAME + ".exe" : BRAND2.GUI_BIN_NAME;
7663
- function daemonCommand() {
7664
- const hit = resolveExecutable(BRAND2.CLI_NAME, { envVar: BRAND2.ENV_DAEMON });
7665
- if (hit) return hit;
7666
- return path2.join(os2.homedir(), ".local", "bin", CLI_EXE);
7667
- }
7668
7656
  function guiCommand() {
7669
7657
  const hit = resolveExecutable(BRAND2.GUI_BIN_NAME, { envVar: BRAND2.ENV_SHELL_EXE });
7670
7658
  if (hit) return hit;
@@ -7702,7 +7690,7 @@ var require_autostart = __commonJS({
7702
7690
  if (pl !== "linux") return { ok: false, unsupported: true, platform: pl, enabled: false, error: "\u672A\u77E5\u5E73\u53F0" };
7703
7691
  return linux.setGuiAutostart(on, DEPS);
7704
7692
  }
7705
- module2.exports = { status, setAutostart, setGuiAutostart, daemonCommand, guiCommand };
7693
+ module2.exports = { status, setAutostart, setGuiAutostart, guiCommand };
7706
7694
  }
7707
7695
  });
7708
7696
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lob-ox/core-darwin-x64",
3
- "version": "0.0.15",
3
+ "version": "0.0.16",
4
4
  "description": "DSH lifecycle guard core (Node launcher) for darwin-x64 — requires Node >=18.",
5
5
  "license": "UNLICENSED",
6
6
  "repository": {