Skip to content

Commit

Permalink
Refactor check update telmi sync
Browse files Browse the repository at this point in the history
  • Loading branch information
Franck ALARY committed Feb 12, 2024
1 parent 911a3f7 commit 08bc855
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion public/MainEvents/Update.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ function mainEventUpdate (mainWindow) {
'check-update',
async () => {
const json = await requestJson('https://api.github.com/repos/DantSu/Telmi-Sync/releases', {})
mainWindow.webContents.send('check-update-data', 'https://github.com/DantSu/Telmi-Sync/releases')
if (!json.length || !isNewerVersion(app.getVersion(), json[0].tab_name)) {
return
}
Expand Down

0 comments on commit 08bc855

Please sign in to comment.