@boxes-dev/dvb 1.0.662 → 1.0.664
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/bin/dvb-update.cjs +6 -1
- package/dist/bin/dvb-update.cjs.map +3 -3
- package/dist/bin/dvb.cjs +51 -6
- package/dist/bin/dvb.cjs.map +3 -3
- package/dist/bin/dvbd.cjs +51 -6
- package/dist/bin/dvbd.cjs.map +3 -3
- package/package.json +1 -1
package/dist/bin/dvb-update.cjs
CHANGED
|
@@ -3732,7 +3732,8 @@ var claimUpdaterDaemon = async (homeDir = import_node_os3.default.homedir()) =>
|
|
|
3732
3732
|
pid: process.pid,
|
|
3733
3733
|
startedAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
3734
3734
|
heartbeatAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
3735
|
-
intervalMs: UPDATER_INTERVAL_MS
|
|
3735
|
+
intervalMs: UPDATER_INTERVAL_MS,
|
|
3736
|
+
bootstrapPath: resolveBootstrapBinPath("dvb-update")
|
|
3736
3737
|
};
|
|
3737
3738
|
for (let attempt = 0; attempt < 2; attempt += 1) {
|
|
3738
3739
|
try {
|
|
@@ -3783,6 +3784,10 @@ var waitWithShutdown = async (shutdown, timeoutMs) => {
|
|
|
3783
3784
|
await new Promise((resolve) => setTimeout(resolve, delay));
|
|
3784
3785
|
}
|
|
3785
3786
|
};
|
|
3787
|
+
var resolveBootstrapBinPath = (name) => {
|
|
3788
|
+
const basePath = resolveBasePath();
|
|
3789
|
+
return import_node_path12.default.join(import_node_path12.default.dirname(basePath), `${name}.cjs`);
|
|
3790
|
+
};
|
|
3786
3791
|
var promoteRuntimeStage = async (stageDir, version, homeDir = import_node_os3.default.homedir()) => {
|
|
3787
3792
|
const previous = await readCurrentRuntime(homeDir);
|
|
3788
3793
|
const versionDir = resolveRuntimeVersionDir(version, homeDir);
|