fix(desktop):route auth deep links safely

This commit is contained in:
Anish Sarkar 2026-06-24 03:55:39 +05:30
parent 2fd7551d36
commit 65ab1cbdd4
2 changed files with 3 additions and 2 deletions

View file

@ -17,6 +17,7 @@ import {
syncAutoLaunchOnStartup,
wasLaunchedAtLogin,
} from './modules/auto-launch';
import { purgeLegacyAuthCutover } from './modules/auth-cutover';
registerGlobalErrorHandlers();
app.setName('SurfSense');
@ -29,6 +30,7 @@ registerIpcHandlers();
app.whenReady().then(async () => {
initAnalytics();
await purgeLegacyAuthCutover();
const launchedAtLogin = wasLaunchedAtLogin();
const startedHidden = shouldStartHidden();
trackEvent('desktop_app_launched', {