Skip to content

fix: harden Windows portable upgrades for 0.2.5 - #25

Merged
WSL043 merged 16 commits into
mainfrom
fix/0.2.5-windows-upgrade
Aug 19, 2026
Merged

WSL043 merged 16 commits into
mainfrom
fix/0.2.5-windows-upgrade

Conversation

@WSL043

@WSL043 WSL043 commented Aug 19, 2026 •

Copy link
Copy Markdown
Owner

What this fixes

  • blocks the offline self-extractor from overwriting any non-empty destination
  • makes the lightweight Windows bootstrap perform a version-aware safe full-package upgrade
  • keeps an existing install launchable when the update channel is unreachable
  • rebuilds the DSH-managed profiles/node_modules fallback during app/full-package updates without deleting profile data, profile-local plugins, sessions, or workspace
  • permanently raises both native WebView2 workspace navigation waits from 30 seconds to 60 seconds
  • adds focused regression coverage for bootstrap auto-upgrade/offline reuse, managed fallback migration, self-extractor overwrite rejection, and the WebView2 timeout

Why

An offline self-extractor run over an existing DSH-Portable directory can mix a new runtime with durable old profile state. A reported failure then resolved bundled UI plugins from data/dsh-home/profiles/web and failed with ERR_MODULE_NOT_FOUND. DSH normally heals its shared module fallback, so the safe migration boundary is to preserve user profile data but regenerate the installation-owned fallback.

The PR remains draft until the Windows base build, Inno packages, and final product smokes all pass.

@WSL043
WSL043 marked this pull request as ready for review August 19, 2026 19:41
@WSL043
WSL043 merged commit dc49e51 into main Aug 19, 2026
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant