feat(desktop): add a setting and flag to disable updates (#3483)

This commit is contained in:
Hampus authored and GitHub committed 2026-10-15 00:33:11 +02:00
1 parent 3a74a6f97a
commit 674b4d26d1
58 files changed
+1477 -42

No files matched your search

@@ -44,6 +44,12 @@ export function setHardwareAccelerationDisabledAndRestart(disable: boolean): voi
relaunchAndExit();
}
export function setModuleUpdatesDisabledAndRestart(disable: boolean): void {
setDesktopTroubleshootingSettings({disableModuleUpdates: disable});
logger.info('Restarting to apply module updates change', {disable});
relaunchAndExit();
}
function reloadMainWindow(): void {
const mainWindow = getMainWindow();
if (!mainWindow || mainWindow.isDestroyed()) {