mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-26 04:57:54 +00:00
Sign altered app in release too for the test app
This commit is contained in:
1 parent
895bb71fae
commit
07e96961bf
1 file changed
-5
@@ -204,7 +204,6 @@ static NSString * const UPDATED_VERSION = @"2.0";
|
||||
|
||||
- (void)signApplicationIfRequiredAtPath:(NSString *)applicationPath completion:(void (^)(void))completionBlock
|
||||
{
|
||||
#ifdef DEBUG
|
||||
// This is unfortunately necessary for testing sandboxing
|
||||
NSXPCConnection *codeSignConnection = [[NSXPCConnection alloc] initWithServiceName:@"org.sparkle-project.TestAppHelper"];
|
||||
codeSignConnection.remoteObjectInterface = [NSXPCInterface interfaceWithProtocol:@protocol(TestAppHelperProtocol)];
|
||||
@@ -216,10 +215,6 @@ static NSString * const UPDATED_VERSION = @"2.0";
|
||||
|
||||
completionBlock();
|
||||
}];
|
||||
#else
|
||||
(void)(applicationPath); // ignore unused warning
|
||||
completionBlock();
|
||||
#endif
|
||||
}
|
||||
|
||||
- (void)applicationWillTerminate:(NSNotification * __unused)notification
|
||||
|
||||
Reference in new issue
Block a user