mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-27 05:04:27 +00:00
Removed compile warnings.
This commit is contained in:
1 parent
d79643b458
commit
d6a37dcdf1
2 files changed
+4
-4
No files matched your search
Vendored
+1
-1
@@ -187,7 +187,7 @@ static const NSTimeInterval SUInstallationTimeLimit = 5;
|
||||
NSError *error = nil;
|
||||
[[NSWorkspace sharedWorkspace] launchApplicationAtURL:[NSURL fileURLWithPath:relaunchPath]
|
||||
options:NSWorkspaceLaunchNewInstance
|
||||
configuration:nil
|
||||
configuration:@{}
|
||||
error:&error];
|
||||
if (error.code != noErr)
|
||||
{
|
||||
|
||||
Vendored
+3
-3
@@ -500,10 +500,10 @@ CF_EXPORT CFDictionaryRef DMCopyHTTPRequestHeaders(CFBundleRef appBundle, CFData
|
||||
if ([updaterDelegate respondsToSelector:@selector(pathToRelaunchForUpdater:)]) {
|
||||
pathToRelaunch = [updaterDelegate pathToRelaunchForUpdater:self.updater];
|
||||
}
|
||||
NSArray *arguments = @[[self.host bundlePath] ?: @"",
|
||||
pathToRelaunch ?: @"",
|
||||
NSArray *arguments = @[self.host.bundlePath.length ? self.host.bundlePath: @"",
|
||||
pathToRelaunch.length ? pathToRelaunch : @"",
|
||||
[NSString stringWithFormat:@"%d", [[NSProcessInfo processInfo] processIdentifier]],
|
||||
self.tempDir ?: @"",
|
||||
self.tempDir.length ? self.tempDir : @"",
|
||||
relaunch ? @"1" : @"0",
|
||||
showUI ? @"1" : @"0"];
|
||||
if (SUShouldUseXPCInstaller())
|
||||
|
||||
Reference in new issue
Block a user