fix(desktop): drop orphaned Squirrel uninstall entry (#2885)

This commit is contained in:
Hampus authored and GitHub committed 2026-09-21 20:03:33 +02:00
1 parent 70e1ce682a
commit 242ed3a934
3 files changed
+95 -1

No files matched your search

+6
View File
@@ -75,6 +75,7 @@ import {
setQuitting,
showWindow,
} from '@electron/main/Window';
import {removeLegacySquirrelUninstallEntry} from '@electron/main/WindowsLegacyUninstallEntry';
import {removeFluxerVulkanLayerRegistrations} from '@electron/main/WindowsVulkanLayerCleanup';
import {app, dialog, netLog} from 'electron';
import log from 'electron-log';
@@ -361,6 +362,11 @@ if (launchConfigurationError) {
} catch (error: unknown) {
log.error('[Init] Failed to remove stale Vulkan layer registrations:', error);
}
try {
runStartupPhase('legacy-uninstall-entry-cleanup', removeLegacySquirrelUninstallEntry);
} catch (error: unknown) {
log.error('[Init] Failed to remove the legacy Squirrel uninstall entry:', error);
}
try {
runStartupPhase('native-screen-capture-handlers', registerNativeScreenCaptureHandlers);
} catch (error: unknown) {