blun-king-cli 9.1.179 → 9.1.180
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/bin/launcher-runtime.js +9 -0
- package/package.json +1 -1
package/bin/launcher-runtime.js
CHANGED
|
@@ -352,6 +352,15 @@ async function superviseProtectedCore(args, env, cwd, releaseNotice, options = {
|
|
|
352
352
|
},
|
|
353
353
|
});
|
|
354
354
|
const loaded = await core.loaded;
|
|
355
|
+
if (loaded && !runtimeReady) {
|
|
356
|
+
// Core load is an independent readiness signal. Start the download even
|
|
357
|
+
// when the later TUI-ready IPC message is lost; handoff still waits for
|
|
358
|
+
// the TUI's fully idle boundary.
|
|
359
|
+
runtimeReady = true;
|
|
360
|
+
refreshRunningUpdateMode();
|
|
361
|
+
if (automaticMode()) startPreparation(core.child);
|
|
362
|
+
else scheduleNextPreparation(core.child);
|
|
363
|
+
}
|
|
355
364
|
await releaseNotice();
|
|
356
365
|
const result = await core.completed;
|
|
357
366
|
clearRunningUpdatePoll();
|