mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 13:05:32 +09:00
fix(desktop): drop orphaned Squirrel uninstall entry (#2885)
This commit is contained in:
1 parent
70e1ce682a
commit
242ed3a934
3 files changed
+95
-1
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user