mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-19 05:55:34 +09:00
feat(desktop): add a setting and flag to disable updates (#3483)
This commit is contained in:
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()) {
|
||||
|
||||
Reference in new issue
Block a user