/** Resolves the packaged binary path used for auto-start and updater migration. */ export function resolveLaunchPath(): string { const appImagePath = process.platform === 'linux' ? String(process.env['APPIMAGE'] || '').trim() : ''; return appImagePath || process.execPath; }