You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(loader): keep install and revert from overriding an explicit disable
Modules.enable now clears the persisted disable (enable() no longer does);
Modules.disable persists; and a new transient Modules.unload stops a module
without persisting, for callers that unload without the user asking (single-
theme enforcement, theme-report, probes) — disable there durably turned the
module off. installLocal unloads any prior instance transiently and, when the
module is disabled, installs the files without enabling it. removeLocal's
revert only re-enables the staged copy when the override was actually running
and not disabled, so removing a record can no longer switch the active theme
or resurrect a disabled module, and the requires-restart path forgets the
disable when nothing staged remains.
0 commit comments