Both the regular update and quick-update branches of install() shared identical sequences: set update flags, detect custom/modified files, scan cached custom modules, and back up user files. Extract into a single _prepareUpdateState method called by both branches. Core config preservation is included (harmless no-op for quick-update which already has core config). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| core | ||
| ide | ||
| modules | ||
| custom-handler.js | ||
| message-loader.js | ||