mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Show ⭐ on icon when update is available
This commit is contained in:
committed by
Corey Johnson & Kevin Sawicki
parent
052b7923ac
commit
c1ee850b92
@@ -280,8 +280,9 @@
|
||||
}
|
||||
|
||||
- (void)updater:(SUUpdater *)updater willInstallUpdateOnQuit:(SUAppcastItem *)update immediateInstallationInvocation:(NSInvocation *)invocation {
|
||||
_updateInvocation = invocation;
|
||||
_updateStatus = @"ready";
|
||||
_updateInvocation = [invocation retain];
|
||||
_updateStatus = @"update-available";
|
||||
[[NSApp dockTile] setBadgeLabel:@"\xE2\xAD\x90"];
|
||||
}
|
||||
|
||||
- (void)updater:(SUUpdater *)updater didCancelInstallUpdateOnQuit:(SUAppcastItem *)update {
|
||||
|
||||
Reference in New Issue
Block a user