@adhdev/daemon-core 0.8.16 → 0.8.18
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.d.ts +2 -1
- package/dist/index.js +7 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -0
- package/dist/index.mjs.map +1 -1
- package/node_modules/@adhdev/session-host-core/package.json +1 -1
- package/package.json +1 -1
- package/src/commands/upgrade-helper.ts +9 -0
- package/src/index.ts +2 -1
package/dist/index.mjs
CHANGED
|
@@ -11911,6 +11911,11 @@ async function runDaemonUpgradeHelper(payload) {
|
|
|
11911
11911
|
if (installOutput.trim()) {
|
|
11912
11912
|
appendUpgradeLog(installOutput.trim());
|
|
11913
11913
|
}
|
|
11914
|
+
if (process.platform === "win32") {
|
|
11915
|
+
await new Promise((resolve9) => setTimeout(resolve9, 500));
|
|
11916
|
+
cleanupStaleGlobalInstallDirs(payload.packageName);
|
|
11917
|
+
appendUpgradeLog("Post-install staging cleanup complete");
|
|
11918
|
+
}
|
|
11914
11919
|
if (restartArgv.length > 0) {
|
|
11915
11920
|
const env = { ...process.env };
|
|
11916
11921
|
delete env[UPGRADE_HELPER_ENV];
|
|
@@ -19547,6 +19552,7 @@ export {
|
|
|
19547
19552
|
setLogLevel,
|
|
19548
19553
|
setupIdeInstance,
|
|
19549
19554
|
shutdownDaemonComponents,
|
|
19555
|
+
spawnDetachedDaemonUpgradeHelper,
|
|
19550
19556
|
startDaemonDevSupport,
|
|
19551
19557
|
updateConfig,
|
|
19552
19558
|
upsertSavedProviderSession
|