Skip to content

Commit

Permalink
Add updater debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
philrz committed Jun 6, 2024
1 parent f67cdb3 commit 64d9012
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions apps/zui/src/domain/updates/linux-updater.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ autoUpdater.forceDevUpdateConfig = true
export class LinuxUpdater implements Updater {
async check() {
const {updateInfo} = await autoUpdater.checkForUpdates()
console.log(updateInfo)
const latest = updateInfo.version
const current = app.getVersion()
if (semver.lt(current, latest)) {
Expand Down
1 change: 1 addition & 0 deletions apps/zui/src/domain/updates/mac-win-updater.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ autoUpdater.forceDevUpdateConfig = true
export class MacWinUpdater implements Updater {
async check() {
const {updateInfo} = await autoUpdater.checkForUpdates()
console.log(updateInfo)
const latest = updateInfo.version
const current = app.getVersion()
if (semver.lt(current, latest)) {
Expand Down

0 comments on commit 64d9012

Please sign in to comment.