Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite2e49a0

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 parent5affac0 commite2e49a0

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{@MainActorinappActivate()}
69+
}
6670
}
6771

6872
extensionUpdaterService:SUVersionDisplay{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp