Skip to content

Commit a389c13

Browse files
🛠️ fix: update error message in auto-updater for clarity and actionability
- Modified the error message in the auto-updater within `electron/main.ts`. This update provides clearer instructions to the user by suggesting a potential solution - reinstalling ScreenLink. - The addition of "You may need to reinstall ScreenLink." aims to guide users towards a proactive step in case of persistent issues with the auto-updater, enhancing the overall user experience in handling errors.
1 parent a453379 commit a389c13

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎electron/main.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -933,7 +933,7 @@ function createWindow() {
933933
mainWindow?.webContents.send('set-window', 'update', 'Update available.');
934934
})
935935
autoUpdater.on('error', (err) => {
936-
mainWindow?.webContents.send('set-window', 'update', 'Error in auto-updater. Contact support if this continues. ' + err);
936+
mainWindow?.webContents.send('set-window', 'update', 'Error in auto-updater. You may need to reinstall ScreenLink. \n Contact support if this continues. \n' + err);
937937
})
938938
autoUpdater.on('download-progress', (progressObj) => {
939939
let downloadSpeedInMBps = (progressObj.bytesPerSecond / (1024 * 1024)).toFixed(2);

0 commit comments

Comments
 (0)