|
|
@ -102,11 +102,11 @@ extension AppDelegate { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
private func initUpdateDownloadXPCConnection() { |
|
|
|
private func startUpdateDownloadXPCConnection() { |
|
|
|
updateDownloadClientService.start() |
|
|
|
} |
|
|
|
|
|
|
|
private func initUpdateDownloadNotificationService() { |
|
|
|
private func startUpdateDownloadNotificationService() { |
|
|
|
notificationService.start() |
|
|
|
} |
|
|
|
|
|
|
@ -238,11 +238,11 @@ extension AppDelegate: NSApplicationDelegate { |
|
|
|
|
|
|
|
downloadStateNotifier.notify(.Connecting) |
|
|
|
|
|
|
|
// connect to XPC service |
|
|
|
initUpdateDownloadXPCConnection() |
|
|
|
// start XPC service |
|
|
|
startUpdateDownloadXPCConnection() |
|
|
|
|
|
|
|
// init client callback service |
|
|
|
initUpdateDownloadNotificationService() |
|
|
|
// start client callback service |
|
|
|
startUpdateDownloadNotificationService() |
|
|
|
|
|
|
|
// subscribe and schedule updates |
|
|
|
setupServiceSubscription() |
|
|
|