@adhdev/daemon-standalone 0.8.17 → 0.8.19

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 CHANGED
@@ -39708,6 +39708,11 @@ Run 'adhdev doctor' for detailed diagnostics.`
39708
39708
  if (installOutput.trim()) {
39709
39709
  appendUpgradeLog(installOutput.trim());
39710
39710
  }
39711
+ if (process.platform === "win32") {
39712
+ await new Promise((resolve9) => setTimeout(resolve9, 500));
39713
+ cleanupStaleGlobalInstallDirs(payload.packageName);
39714
+ appendUpgradeLog("Post-install staging cleanup complete");
39715
+ }
39711
39716
  if (restartArgv.length > 0) {
39712
39717
  const env = { ...process.env };
39713
39718
  delete env[UPGRADE_HELPER_ENV];