Skip to content

Commit e2e49a0

Browse files
chore: bring app to front when an update is available (#194)
Supposedly users are missing the notification because it's just silently appearing in the background.
1 parent 5affac0 commit e2e49a0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Coder-Desktop/Coder-Desktop/UpdaterService.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@ extension UpdaterService: SPUUpdaterDelegate {
6363
// preview >= stable
6464
[updateChannel.rawValue]
6565
}
66+
67+
func updater(_: SPUUpdater, didFindValidUpdate _: SUAppcastItem) {
68+
Task { @MainActor in appActivate() }
69+
}
6670
}
6771

6872
extension UpdaterService: SUVersionDisplay {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy