Rename disable* settings to enable* and consolidated 1 setting

This commit is contained in:
Alexander Farber 2025-12-29 23:18:54 +01:00 committed by Mingholy
parent c90dbcdf3b
commit 561fda297e
18 changed files with 285 additions and 164 deletions

View file

@ -182,7 +182,9 @@ export async function startInteractiveUI(
},
);
if (!settings.merged.general?.disableUpdateNag) {
// Check for updates only if enableAutoUpdate is not explicitly disabled.
// Using !== false ensures updates are enabled by default when undefined.
if (settings.merged.general?.enableAutoUpdate !== false) {
checkForUpdates()
.then((info) => {
handleAutoUpdate(info, settings, config.getProjectRoot());