From eedb0ff0dda9884a9da5789ca45ed8465dcd5486 Mon Sep 17 00:00:00 2001 From: Dmytro Tretiakov Date: Wed, 30 Apr 2014 13:40:55 +0300 Subject: [PATCH] Hides XPC using check to private updater API. --- SUAppcast.m | 2 +- SUUpdateAlert.m | 1 + SUUpdater.h | 2 -- SUUpdater_Private.h | 2 ++ 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/SUAppcast.m b/SUAppcast.m index 8168bc1d..6de64bae 100644 --- a/SUAppcast.m +++ b/SUAppcast.m @@ -6,7 +6,7 @@ // Copyright 2006 Andy Matuschak. All rights reserved. // -#import "SUUpdater.h" +#import "SUUpdater_Private.h" #import "SUAppcast.h" #import "SUAppcastItem.h" diff --git a/SUUpdateAlert.m b/SUUpdateAlert.m index 8784a785..c4902ba8 100644 --- a/SUUpdateAlert.m +++ b/SUUpdateAlert.m @@ -15,6 +15,7 @@ #import "SUHost.h" #import +#import "SUUpdater_Private.h" #import "SUConstants.h" #import "SUXPCURLDownload.h" diff --git a/SUUpdater.h b/SUUpdater.h index 76b3dcd9..2fef07a9 100644 --- a/SUUpdater.h +++ b/SUUpdater.h @@ -73,8 +73,6 @@ - (BOOL)updateInProgress; -+ (BOOL)shouldUseXPC; - @end diff --git a/SUUpdater_Private.h b/SUUpdater_Private.h index 599ddfcd..331563c3 100644 --- a/SUUpdater_Private.h +++ b/SUUpdater_Private.h @@ -12,4 +12,6 @@ - (BOOL)mayUpdateAndRestart; ++ (BOOL)shouldUseXPC; + @end