Commit Graph

1 Commits

Author SHA1 Message Date
4b9eb3c1ff feat: 0.6.0 - update check and one-command upgrade
Answers: when I ship a new version, how does the user find out, and what do
they do about it.

Three ways to learn:
1. moyun_ultimate_profile now returns an update block: current, latest,
   available, notes, howTo, page.
2. New tool moyun_check_update (force: true re-queries).
3. On startup the plugin checks the latest release in the background and logs
   a line when a newer version exists.

One command to upgrade:
  powershell -ExecutionPolicy Bypass -File .\update.ps1

It queries the release, downloads the tgz, backs up the current directories as
*.bak-update-<stamp>, extracts over them, and PRESERVES the user's mode choice
(complement stays complement, it is not clobbered into full).

Variants: -Check (report only), -Force (reinstall), -DryRun (dry run).

Opt out with checkUpdate: false in the bundle patch.

Version comparison is numeric per segment so 0.10.0 > 0.9.9. Network failure
degrades quietly; startup is not blocked (8s timeout, background promise).
2026-11-17 15:14:23 +08:00