You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🚀 feat: enhance auto-updater with forced updates and error handling
Refined the auto-update feature in the Electron app to support forced updates and improved error logging, ensuring users have the latest, most secure version.
- Introduced a check for required updates using a regex match on the release name, enabling forced updates for critical releases.
- Implemented enhanced error logging with Sentry, including specific tags and extra context for better troubleshooting.
- Modified update download and installation flow to prompt the user for installation, with a special case for forced updates leading to immediate application restart and update installation.
mainWindow?.webContents.send('set-window','update','Error in auto-updater. You may need to reinstall ScreenLink. \n Contact support if this continues. \n'+err);
986
+
Sentry.captureException(err,{
987
+
tags: {module: "autoUpdater", forcedUpdate },
988
+
extra: {error: err}
989
+
});
990
+
if(!forcedUpdate)return;
991
+
mainWindow?.webContents.send('set-window','update','Error in auto-updater. You may need to reinstall ScreenLink. \n Contact support if this continues (support@screenlink.io) \n \n \n'+err);
0 commit comments