File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 2323 ******************************************************************************/
2424
2525import Cocoa
26+ import GitHubUpdates
2627
2728@NSApplicationMain
2829
2930class ApplicationDelegate : NSResponder , NSApplicationDelegate
3031{
3132 private var controllers = [ NSWindowController ] ( )
3233 private var aboutWindowController : NSWindowController ?
34+ @IBOutlet private var updater : GitHubUpdater ?
3335
3436 func applicationDidFinishLaunching( _ notification: Notification )
35- { }
37+ {
38+ self . updater? . checkForUpdatesInBackground ( )
39+ }
3640
3741 func applicationWillTerminate( _ notification: Notification )
3842 { }
Original file line number Diff line number Diff line change 1212 </customObject >
1313 <customObject id =" -1" userLabel =" First Responder" customClass =" FirstResponder" />
1414 <customObject id =" -3" userLabel =" Application" customClass =" NSObject" />
15- <customObject id =" Voe-Tx-rLC" customClass =" ApplicationDelegate" customModule =" ColorSet" customModuleProvider =" target" />
15+ <customObject id =" Voe-Tx-rLC" customClass =" ApplicationDelegate" customModule =" ColorSet" customModuleProvider =" target" >
16+ <connections >
17+ <outlet property =" updater" destination =" Uwj-E6-Thg" id =" dkK-9r-X26" />
18+ </connections >
19+ </customObject >
1620 <customObject id =" YLy-65-1bz" customClass =" NSFontManager" />
1721 <menu title =" Main Menu" systemMenu =" main" id =" AYu-sK-qS6" >
1822 <items >
You can’t perform that action at this time.
0 commit comments