Check same SHA first for up-to-date; run build-test then push
- Updater: treat same SHA as up to date before comparing timestamps so local install matches remote after push. - Release artifacts from build-test. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
65114fc265
commit
8dbb0a380a
|
|
@ -44,12 +44,12 @@ enum AutoUpdater {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
let localTimestamp = local?.timestamp ?? 0
|
if remote.sha == local?.sha {
|
||||||
if remote.timestamp <= localTimestamp {
|
|
||||||
if !silent { showAlert(title: "Up to Date", message: "You are running the latest version.") }
|
if !silent { showAlert(title: "Up to Date", message: "You are running the latest version.") }
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if remote.sha == local?.sha {
|
let localTimestamp = local?.timestamp ?? 0
|
||||||
|
if remote.timestamp <= localTimestamp {
|
||||||
if !silent { showAlert(title: "Up to Date", message: "You are running the latest version.") }
|
if !silent { showAlert(title: "Up to Date", message: "You are running the latest version.") }
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -1 +1 @@
|
||||||
1030ff4f33acbe9694bb9260bde5b1871e9ad42af3c7813f7ac99164f2335c2e
|
497cb5d743bf2eb344b1195304fa68757d065131de7239b9ef148b596a199b16
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue