Add cache clearing documentation for electron-updater

- Introduced CLEAR-UPDATE-CACHE.md to guide users on clearing the electron-updater cache across macOS, Windows, and Linux.
- Added programmatic method for cache clearing in JavaScript.
- Enhanced update handling in main.js and preload.js to support new update events.
- Updated GUI styles for download buttons and progress indicators in update.js and style.css.
This commit is contained in:
chasem-dev
2026-01-22 00:26:01 -05:00
parent cefb4c5575
commit 753bd4fd61
6 changed files with 235 additions and 8 deletions

View File

@@ -731,6 +731,7 @@ ipcMain.handle('check-for-updates', async () => {
return {
updateAvailable: result?.updateInfo ? true : false,
version: result?.updateInfo?.version,
newVersion: result?.updateInfo?.version,
currentVersion: app.getVersion()
};
}