Skip to content

Fix model config compatibility and installer-owned uninstaller - #148

Merged
angnuoli merged 14 commits into
microsofthackathons:mainfrom
angnuoli:angnuoli-microsoft-fix-model-config-write
Jul 30, 2026
Merged

Fix model config compatibility and installer-owned uninstaller#148
angnuoli merged 14 commits into
microsofthackathons:mainfrom
angnuoli:angnuoli-microsoft-fix-model-config-write

Conversation

@angnuoli

@angnuoli angnuoli commented Jul 30, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • allow full-config saves to preserve unchanged future OpenClaw sections while rejecting unknown-section mutations
  • make packaged and source-mode installs persist, verify, and roll back the PyInstaller uninstaller bundle before exposing Windows entry points
  • add a side-effect-free packaged runtime check; keep bundle publication and uninstall registry failures fatal while treating shortcut failures as best effort
  • compile the UTF-8 NSIS script explicitly so the single-file setup is produced reliably

Test plan

  • python -m unittest discover -s tests -v (184 tests)
  • npm --prefix desktop exec vitest run src/config-write-policy.test.ts (4 tests)
  • cd desktop/renderer && npx vitest run src/components/ModelSetupDialog.test.ts (10 tests)
  • powershell -ExecutionPolicy Bypass -File build.ps1
  • dist\MicroClawInstaller\MicroClawInstaller.exe --check-uninstaller

angnuo and others added 14 commits July 30, 2026 13:23
@angnuoli
angnuoli merged commit d6b4994 into microsofthackathons:main Jul 30, 2026
1 of 2 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