diff --git a/Configurations/ConfigCommon.xcconfig b/Configurations/ConfigCommon.xcconfig index c85fc403..b8e19339 100644 --- a/Configurations/ConfigCommon.xcconfig +++ b/Configurations/ConfigCommon.xcconfig @@ -3,7 +3,7 @@ PREBINDING = NO ZERO_LINK = NO CURRENT_PROJECT_VERSION = 1.5 -SDKROOT = macosx10.6 +SDKROOT = macosx10.7 MACOSX_DEPLOYMENT_TARGET[arch=ppc] = 10.4 MACOSX_DEPLOYMENT_TARGET[arch=ppc64] = 10.5 MACOSX_DEPLOYMENT_TARGET[arch=i386] = 10.4 diff --git a/Configurations/ConfigService.xcconfig b/Configurations/ConfigService.xcconfig new file mode 100644 index 00000000..6ecc2bd1 --- /dev/null +++ b/Configurations/ConfigService.xcconfig @@ -0,0 +1,5 @@ +// Sandbox Service only + +PRODUCT_NAME = com.andymatuschak.Sparkle.SandboxService +WRAPPER_EXTENSION = xpc +MACH_O_TYPE = mh_execute diff --git a/Configurations/ConfigServiceDebug.xcconfig b/Configurations/ConfigServiceDebug.xcconfig new file mode 100644 index 00000000..68bb414d --- /dev/null +++ b/Configurations/ConfigServiceDebug.xcconfig @@ -0,0 +1,5 @@ +#include "ConfigCommon.xcconfig" +#include "ConfigCommonDebug.xcconfig" +#include "ConfigService.xcconfig" + +OTHER_CFLAGS = -fsingle-precision-constant -DDEBUG diff --git a/Configurations/ConfigServiceRelease.xcconfig b/Configurations/ConfigServiceRelease.xcconfig new file mode 100644 index 00000000..a20df8a6 --- /dev/null +++ b/Configurations/ConfigServiceRelease.xcconfig @@ -0,0 +1,3 @@ +#include "ConfigCommon.xcconfig" +#include "ConfigCommonRelease.xcconfig" +#include "ConfigService.xcconfig" diff --git a/License.txt b/License.txt index 978193f9..08364c63 100644 --- a/License.txt +++ b/License.txt @@ -10,121 +10,6 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI EXTERNAL LICENSES ================= -This project uses software developed by the OpenSSL Project for use in the OpenSSL -Toolkit (http://www.openssl.org). This toolkit is licensed as follows: -/* ==================================================================== -* Copyright (c) 1998-2005 The OpenSSL Project. All rights reserved. -* -* Redistribution and use in source and binary forms, with or without -* modiÞcation, are permitted provided that the following conditions -* are met: -* -* 1. Redistributions of source code must retain the above copyright -* notice, this list of conditions and the following disclaimer. -* -* 2. Redistributions in binary form must reproduce the above copyright -* notice, this list of conditions and the following disclaimer in -* the documentation and/or other materials provided with the -* distribution. -* -* 3. All advertising materials mentioning features or use of this -* software must display the following acknowledgment: -* ÒThis product includes software developed by the OpenSSL Project -* for use in the OpenSSL Toolkit. (http://www.openssl.org/)Ó -* -* 4. The names ÒOpenSSL ToolkitÓ and ÒOpenSSL ProjectÓ must not be used to -* endorse or promote products derived from this software without -* prior written permission. For written permission, please contact -* openssl-core@openssl.org. -* -* 5. Products derived from this software may not be called ÒOpenSSLÓ -* nor may ÒOpenSSLÓ appear in their names without prior written -* permission of the OpenSSL Project. -* -* 6. Redistributions of any form whatsoever must retain the following - -* acknowledgment: -* ÒThis product includes software developed by the OpenSSL Project -* for use in the OpenSSL Toolkit (http://www.openssl.org/)Ó -* -* THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS ISÕÕ AND ANY -* EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR -* ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT -* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED -* OF THE POSSIBILITY OF SUCH DAMAGE. -* ==================================================================== -* -* This product includes cryptographic software written by Eric Young -* (eay@cryptsoft.com). This product includes software written by Tim -* Hudson (tjh@cryptsoft.com). -* -*/ - -Original SSLeay License -/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) -* All rights reserved. -* -* This package is an SSL implementation written -* by Eric Young (eay@cryptsoft.com). -* The implementation was written so as to conform with Netscapes SSL. -* -* This library is free for commercial and non-commercial use as long as -* the following conditions are aheared to. The following conditions -* apply to all code found in this distribution, be it the RC4, RSA, -* lhash, DES, etc., code; not just the SSL code. The SSL documentation -* included with this distribution is covered by the same copyright terms -* except that the holder is Tim Hudson (tjh@cryptsoft.com). -* -* Copyright remains Eric YoungÕs, and as such any Copyright notices in -* the code are not to be removed. -* If this package is used in a product, Eric Young should be given attribution -* as the author of the parts of the library used. -* This can be in the form of a textual message at program startup or -* in documentation (online or textual) provided with the package. -* -* Redistribution and use in source and binary forms, with or without -* modiÞcation, are permitted provided that the following conditions -* are met: -* 1. Redistributions of source code must retain the copyright -* notice, this list of conditions and the following disclaimer. -* 2. Redistributions in binary form must reproduce the above copyright -* notice, this list of conditions and the following disclaimer in the -* documentation and/or other materials provided with the distribution. -* 3. All advertising materials mentioning features or use of this software -* must display the following acknowledgement: -* ÒThis product includes cryptographic software written by -* Eric Young (eay@cryptsoft.com)Ó -* The word ÔcryptographicÕ can be left out if the rouines from the library -* being used are not cryptographic related :-). -* 4. If you include any Windows speciÞc code (or a derivative thereof) from -* the apps directory (application code) you must include an acknowledgement: -* ÒThis product includes software written by Tim Hudson (tjh@cryptsoft.com)Ó -* -* THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS ISÕÕ AND -* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE -* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -* SUCH DAMAGE. -* -* The licence and distribution terms for any publically available version or -* derivative of this code cannot be changed. i.e. this code cannot simply be -* copied and put under another distribution licence -* [including the GNU Public Licence.] -*/ - License for bspatch.c and bsdiff.c, from bsdiff 4.3 (: /*- * Copyright 2003-2005 Colin Percival diff --git a/SUAppcast.m b/SUAppcast.m index b12ac78f..74bc709c 100644 --- a/SUAppcast.m +++ b/SUAppcast.m @@ -32,7 +32,7 @@ } @end -@interface SUAppcast (Private) +@interface SUAppcast () - (void)reportError:(NSError *)error; - (NSXMLNode *)bestNodeInNodes:(NSArray *)nodes; @end diff --git a/SUBasicUpdateDriver.m b/SUBasicUpdateDriver.m index 344dbf00..e32b9c77 100644 --- a/SUBasicUpdateDriver.m +++ b/SUBasicUpdateDriver.m @@ -19,6 +19,9 @@ #import "SUPlainInstallerInternals.h" #import "SUBinaryDeltaCommon.h" #import "SUUpdater_Private.h" +#import "SUXPC.h" + +@interface SUBasicUpdateDriver () ; @end @implementation SUBasicUpdateDriver @@ -270,6 +273,10 @@ [self abortUpdate]; return; } + + BOOL running10_7 = floor(NSAppKitVersionNumber) > NSAppKitVersionNumber10_6; + BOOL useXPC = running10_7 && [[NSFileManager defaultManager] fileExistsAtPath: + [[host bundlePath] stringByAppendingPathComponent:@"Contents/XPCServices/com.andymatuschak.Sparkle.SandboxService.xpc"]]; // Give the host app an opportunity to postpone the install and relaunch. static BOOL postponedOnce = NO; @@ -277,7 +284,7 @@ { NSInvocation *invocation = [NSInvocation invocationWithMethodSignature:[[self class] instanceMethodSignatureForSelector:@selector(installWithToolAndRelaunch:)]]; [invocation setSelector:@selector(installWithToolAndRelaunch:)]; - [invocation setArgument:&relaunch atIndex:0]; + [invocation setArgument:&relaunch atIndex:2]; [invocation setTarget:self]; postponedOnce = YES; if ([[updater delegate] updater:updater shouldPostponeRelaunchForUpdate:updateItem untilInvoking:invocation]) @@ -300,7 +307,12 @@ #endif // Only the paranoid survive: if there's already a stray copy of relaunch there, we would have problems. - if( [SUPlainInstaller copyPathWithAuthentication: relaunchPathToCopy overPath: targetPath temporaryName: nil error: &error] ) + BOOL copiedRelaunchTool = FALSE; + if( useXPC ) + copiedRelaunchTool = [SUXPC copyPathWithAuthentication: relaunchPathToCopy overPath: targetPath temporaryName: nil error: &error]; + else + copiedRelaunchTool = [SUPlainInstaller copyPathWithAuthentication: relaunchPathToCopy overPath: targetPath temporaryName: nil error: &error]; + if( copiedRelaunchTool ) relaunchPath = [targetPath retain]; else [self abortUpdateWithError:[NSError errorWithDomain:SUSparkleErrorDomain code:SURelaunchError userInfo:[NSDictionary dictionaryWithObjectsAndKeys:SULocalizedString(@"An error occurred while extracting the archive. Please try again later.", nil), NSLocalizedDescriptionKey, [NSString stringWithFormat:@"Couldn't copy relauncher (%@) to temporary path (%@)! %@", relaunchPathToCopy, targetPath, (error ? [error localizedDescription] : @"")], NSLocalizedFailureReasonErrorKey, nil]]]; @@ -321,7 +333,11 @@ if ([[updater delegate] respondsToSelector:@selector(pathToRelaunchForUpdater:)]) pathToRelaunch = [[updater delegate] pathToRelaunchForUpdater:updater]; NSString *relaunchToolPath = [relaunchPath stringByAppendingPathComponent: @"/Contents/MacOS/finish_installation"]; - [NSTask launchedTaskWithLaunchPath: relaunchToolPath arguments:[NSArray arrayWithObjects:pathToRelaunch, [NSString stringWithFormat:@"%d", [[NSProcessInfo processInfo] processIdentifier]], tempDir, relaunch ? @"1" : @"0", nil]]; + NSArray *arguments = [NSArray arrayWithObjects:[host bundlePath], pathToRelaunch, [NSString stringWithFormat:@"%d", [[NSProcessInfo processInfo] processIdentifier]], tempDir, relaunch ? @"1" : @"0", nil]; + if( useXPC ) + [SUXPC launchTaskWithLaunchPath: relaunchToolPath arguments:arguments]; + else + [NSTask launchedTaskWithLaunchPath: relaunchToolPath arguments:arguments]; [NSApp terminate:self]; } diff --git a/SUConstants.h b/SUConstants.h index 4ef1ebb4..0dcc6cfb 100644 --- a/SUConstants.h +++ b/SUConstants.h @@ -24,7 +24,7 @@ // If your app file on disk is named "MyApp 1.1b4", Sparkle usually updates it // in place, giving you an app named 1.1b4 that is actually 1.2. Turn the // following on to always reset the name back to "MyApp": -#define NORMALIZE_INSTALLED_APP_NAME 1 +#define NORMALIZE_INSTALLED_APP_NAME 0 #define TRY_TO_APPEND_VERSION_NUMBER 1 @@ -59,6 +59,7 @@ extern NSString *const SULastProfileSubmitDateKey; extern NSString *const SUPromptUserOnFirstLaunchKey; extern NSString *const SUFixedHTMLDisplaySizeKey; extern NSString *const SUKeepDownloadOnFailedInstallKey; +extern NSString *const SUDefaultsDomainKey; // ----------------------------------------------------------------------------- // Errors: diff --git a/SUConstants.m b/SUConstants.m index 9150cb2a..d08b3c2a 100644 --- a/SUConstants.m +++ b/SUConstants.m @@ -35,6 +35,7 @@ NSString *const SULastProfileSubmitDateKey = @"SULastProfileSubmissionDate"; NSString *const SUPromptUserOnFirstLaunchKey = @"SUPromptUserOnFirstLaunch"; NSString *const SUFixedHTMLDisplaySizeKey = @"SUFixedHTMLDisplaySize"; NSString *const SUKeepDownloadOnFailedInstallKey = @"SUKeepDownloadOnFailedInstall"; +NSString *const SUDefaultsDomainKey = @"SUDefaultsDomain"; NSString *const SUSparkleErrorDomain = @"SUSparkleErrorDomain"; OSStatus SUAppcastParseError = 1000; diff --git a/SUHost.h b/SUHost.h index ffe98a78..58244ecf 100644 --- a/SUHost.h +++ b/SUHost.h @@ -14,6 +14,8 @@ { @private NSBundle *bundle; + NSString *defaultsDomain; + BOOL usesStandardUserDefaults; } + (NSString *)systemVersionString; diff --git a/SUHost.m b/SUHost.m index 4ecfa462..5016e857 100644 --- a/SUHost.m +++ b/SUHost.m @@ -23,12 +23,20 @@ bundle = [aBundle retain]; if (![bundle bundleIdentifier]) SULog(@"Sparkle Error: the bundle being updated at %@ has no CFBundleIdentifier! This will cause preference read/write to not work properly.", bundle); + + defaultsDomain = [[bundle objectForInfoDictionaryKey:SUDefaultsDomainKey] retain]; + if (!defaultsDomain) + defaultsDomain = [[bundle bundleIdentifier] retain]; + + // If we're using the main bundle's defaults we'll use the standard user defaults mechanism, otherwise we have to get CF-y. + usesStandardUserDefaults = [defaultsDomain isEqualToString:[[NSBundle mainBundle] bundleIdentifier]]; } return self; } - (void)dealloc { + [defaultsDomain release]; [bundle release]; [super dealloc]; } @@ -63,10 +71,12 @@ - (NSString *)installationPath { #if NORMALIZE_INSTALLED_APP_NAME - return [[[bundle bundlePath] stringByDeletingLastPathComponent] stringByAppendingPathComponent: [NSString stringWithFormat: @"%@.%@", [bundle objectForInfoDictionaryKey:@"CFBundleName"], [[bundle bundlePath] pathExtension]]]; -#else - return [bundle bundlePath]; + // We'll install to "#{CFBundleName}.app", but only if that path doesn't already exist. If we're "Foo 4.2.app," and there's a "Foo.app" in this directory, we don't want to overwrite it! But if there's no "Foo.app," we'll take that name. + NSString *normalizedAppPath = [[[bundle bundlePath] stringByDeletingLastPathComponent] stringByAppendingPathComponent: [NSString stringWithFormat: @"%@.%@", [bundle objectForInfoDictionaryKey:@"CFBundleName"], [[bundle bundlePath] pathExtension]]]; + if (![[NSFileManager defaultManager] fileExistsAtPath:[[[bundle bundlePath] stringByDeletingLastPathComponent] stringByAppendingPathComponent: [NSString stringWithFormat: @"%@.%@", [bundle objectForInfoDictionaryKey:@"CFBundleName"], [[bundle bundlePath] pathExtension]]]]) + return normalizedAppPath; #endif + return [bundle bundlePath]; } - (NSString *)name @@ -175,34 +185,33 @@ // Under Tiger, CFPreferencesCopyAppValue doesn't get values from NSRegistrationDomain, so anything // passed into -[NSUserDefaults registerDefaults:] is ignored. The following line falls // back to using NSUserDefaults, but only if the host bundle is the main bundle. - if (bundle == [NSBundle mainBundle]) + if (usesStandardUserDefaults) return [[NSUserDefaults standardUserDefaults] objectForKey:defaultName]; - CFPropertyListRef obj = CFPreferencesCopyAppValue((CFStringRef)defaultName, (CFStringRef)[bundle bundleIdentifier]); + CFPropertyListRef obj = CFPreferencesCopyAppValue((CFStringRef)defaultName, (CFStringRef)defaultsDomain); return [(id)CFMakeCollectable(obj) autorelease]; } - (void)setObject:(id)value forUserDefaultsKey:(NSString *)defaultName; { - // If we're using a .app, we'll use the standard user defaults mechanism; otherwise, we have to get CF-y. - if (bundle == [NSBundle mainBundle]) + if (usesStandardUserDefaults) { [[NSUserDefaults standardUserDefaults] setObject:value forKey:defaultName]; } else { - CFPreferencesSetValue((CFStringRef)defaultName, value, (CFStringRef)[bundle bundleIdentifier], kCFPreferencesCurrentUser, kCFPreferencesAnyHost); - CFPreferencesSynchronize((CFStringRef)[bundle bundleIdentifier], kCFPreferencesCurrentUser, kCFPreferencesAnyHost); + CFPreferencesSetValue((CFStringRef)defaultName, value, (CFStringRef)defaultsDomain, kCFPreferencesCurrentUser, kCFPreferencesAnyHost); + CFPreferencesSynchronize((CFStringRef)defaultsDomain, kCFPreferencesCurrentUser, kCFPreferencesAnyHost); } } - (BOOL)boolForUserDefaultsKey:(NSString *)defaultName { - if (bundle == [NSBundle mainBundle]) + if (usesStandardUserDefaults) return [[NSUserDefaults standardUserDefaults] boolForKey:defaultName]; BOOL value; - CFPropertyListRef plr = CFPreferencesCopyAppValue((CFStringRef)defaultName, (CFStringRef)[bundle bundleIdentifier]); + CFPropertyListRef plr = CFPreferencesCopyAppValue((CFStringRef)defaultName, (CFStringRef)defaultsDomain); if (plr == NULL) value = NO; else @@ -215,15 +224,14 @@ - (void)setBool:(BOOL)value forUserDefaultsKey:(NSString *)defaultName { - // If we're using a .app, we'll use the standard user defaults mechanism; otherwise, we have to get CF-y. - if (bundle == [NSBundle mainBundle]) + if (usesStandardUserDefaults) { [[NSUserDefaults standardUserDefaults] setBool:value forKey:defaultName]; } else { - CFPreferencesSetValue((CFStringRef)defaultName, (CFBooleanRef)[NSNumber numberWithBool:value], (CFStringRef)[bundle bundleIdentifier], kCFPreferencesCurrentUser, kCFPreferencesAnyHost); - CFPreferencesSynchronize((CFStringRef)[bundle bundleIdentifier], kCFPreferencesCurrentUser, kCFPreferencesAnyHost); + CFPreferencesSetValue((CFStringRef)defaultName, (CFBooleanRef)[NSNumber numberWithBool:value], (CFStringRef)defaultsDomain, kCFPreferencesCurrentUser, kCFPreferencesAnyHost); + CFPreferencesSynchronize((CFStringRef)defaultsDomain, kCFPreferencesCurrentUser, kCFPreferencesAnyHost); } } diff --git a/SUPlainInstallerInternals.m b/SUPlainInstallerInternals.m index 15eb16b4..475862a9 100644 --- a/SUPlainInstallerInternals.m +++ b/SUPlainInstallerInternals.m @@ -524,7 +524,10 @@ static BOOL AuthorizationExecuteWithPrivilegesAndWait(AuthorizationRef authoriza // new home in case it's moved across filesystems: if that // happens, the move is actually a copy, and it may result // in the application being quarantined. - [self performSelectorOnMainThread:@selector(releaseFromQuarantine:) withObject:dst waitUntilDone:YES]; + if ([NSThread isMultiThreaded]) + [self performSelectorOnMainThread:@selector(releaseFromQuarantine:) withObject:dst waitUntilDone:YES]; + else + [self releaseFromQuarantine:dst]; return YES; } diff --git a/SUXPC.h b/SUXPC.h new file mode 100644 index 00000000..ac8fb661 --- /dev/null +++ b/SUXPC.h @@ -0,0 +1,16 @@ +// +// SUXPC.h +// Sparkle +// +// Created by Whitney Young on 3/19/12. +// Copyright (c) 2012 FadingRed. All rights reserved. +// + +#import + +@interface SUXPC : NSObject + ++ (BOOL)copyPathWithAuthentication:(NSString *)src overPath:(NSString *)dst temporaryName:(NSString *)tmp error:(NSError **)error; ++ (void)launchTaskWithLaunchPath:(NSString *)path arguments:(NSArray *)arguments; + +@end diff --git a/SUXPC.m b/SUXPC.m new file mode 100644 index 00000000..ccf94de7 --- /dev/null +++ b/SUXPC.m @@ -0,0 +1,72 @@ +// +// SUXPC.m +// Sparkle +// +// Created by Whitney Young on 3/19/12. +// Copyright (c) 2012 FadingRed. All rights reserved. +// + +#import +#import "SUXPC.h" + + +@implementation SUXPC + ++ (BOOL)copyPathWithAuthentication:(NSString *)src overPath:(NSString *)dst temporaryName:(NSString *)tmp error:(NSError **)error { + xpc_connection_t connection = xpc_connection_create("com.andymatuschak.Sparkle.SandboxService", NULL); + xpc_connection_set_event_handler(connection, ^(xpc_object_t event) { + xpc_dictionary_apply(event, ^bool(const char *key, xpc_object_t value) { + NSLog(@"XPC %s: %s", key, xpc_string_get_string_ptr(value)); + return true; + }); + }); + xpc_connection_resume(connection); + + xpc_object_t message = xpc_dictionary_create(NULL, NULL, 0); + xpc_dictionary_set_string(message, "id", "copy_path"); + + if( src ) + xpc_dictionary_set_string(message, "source", [src fileSystemRepresentation]); + if( dst ) + xpc_dictionary_set_string(message, "destination", [dst fileSystemRepresentation]); + if( tmp ) + xpc_dictionary_set_string(message, "tmp", [tmp UTF8String]); + + xpc_object_t response = xpc_connection_send_message_with_reply_sync(connection, message); + xpc_type_t type = xpc_get_type(response); + return type == XPC_TYPE_DICTIONARY; +} + ++ (void)launchTaskWithLaunchPath:(NSString *)path arguments:(NSArray *)arguments { + xpc_connection_t connection = xpc_connection_create("com.andymatuschak.Sparkle.SandboxService", NULL); + xpc_connection_set_event_handler(connection, ^(xpc_object_t event) { + xpc_dictionary_apply(event, ^bool(const char *key, xpc_object_t value) { + NSLog(@"XPC %s: %s", key, xpc_string_get_string_ptr(value)); + return true; + }); + }); + xpc_connection_resume(connection); + + xpc_object_t message = xpc_dictionary_create(NULL, NULL, 0); + xpc_dictionary_set_string(message, "id", "launch_task"); + + if( path ) + xpc_dictionary_set_string(message, "path", [path fileSystemRepresentation]); + + xpc_object_t array = xpc_array_create(NULL, 0); + for (id argument in arguments) { + xpc_array_append_value(array, xpc_string_create([argument UTF8String])); + } + + xpc_dictionary_set_value(message, "arguments", array); + + xpc_object_t response = xpc_connection_send_message_with_reply_sync(connection, message); + xpc_type_t type = xpc_get_type(response); + BOOL success = (type == XPC_TYPE_DICTIONARY); + + if (!success) { + NSLog(@"XPC launch error"); + } +} + +@end diff --git a/SandboxService.plist b/SandboxService.plist new file mode 100644 index 00000000..a36bd3c4 --- /dev/null +++ b/SandboxService.plist @@ -0,0 +1,29 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + ${EXECUTABLE_NAME} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + XPC! + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1 + XPCService + + ServiceType + Application + + + diff --git a/Sparkle.xcodeproj/project.pbxproj b/Sparkle.xcodeproj/project.pbxproj index 0da88897..8b845dfe 100644 --- a/Sparkle.xcodeproj/project.pbxproj +++ b/Sparkle.xcodeproj/project.pbxproj @@ -131,6 +131,20 @@ 61F83F720DBFE140006FDD30 /* SUBasicUpdateDriver.m in Sources */ = {isa = PBXBuildFile; fileRef = 61F83F700DBFE137006FDD30 /* SUBasicUpdateDriver.m */; }; 61F83F740DBFE141006FDD30 /* SUBasicUpdateDriver.h in Headers */ = {isa = PBXBuildFile; fileRef = 61F83F6F0DBFE137006FDD30 /* SUBasicUpdateDriver.h */; settings = {ATTRIBUTES = (); }; }; 61FA52880E2D9EA400EF58AD /* Sparkle.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8DC2EF5B0486A6940098B216 /* Sparkle.framework */; settings = {ATTRIBUTES = (Required, ); }; }; + 8B887B611517F3AC000BB292 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8B887B601517F3AC000BB292 /* Foundation.framework */; }; + 8B887B7E1517F888000BB292 /* SUXPC.h in Headers */ = {isa = PBXBuildFile; fileRef = 8B887B7C1517F888000BB292 /* SUXPC.h */; }; + 8B887B7F1517F888000BB292 /* SUXPC.m in Sources */ = {isa = PBXBuildFile; fileRef = 8B887B7D1517F888000BB292 /* SUXPC.m */; }; + 8B887B811517FAA3000BB292 /* SUPlainInstallerInternals.m in Sources */ = {isa = PBXBuildFile; fileRef = 61B5F8E509C4CE3C00B25A18 /* SUPlainInstallerInternals.m */; }; + 8B887B821517FAA4000BB292 /* SUPlainInstaller.m in Sources */ = {isa = PBXBuildFile; fileRef = 618FA5040DAE8AB80026945C /* SUPlainInstaller.m */; }; + 8B887B831517FAE9000BB292 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 55C14F31136EFC2400649790 /* SystemConfiguration.framework */; }; + 8B887B841517FAEC000BB292 /* IOKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6117796E0D1112E000749C97 /* IOKit.framework */; }; + 8B887B861517FAFE000BB292 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 61B5F8F609C4CEB300B25A18 /* Security.framework */; }; + 8B887B881517FB1C000BB292 /* SUInstaller.m in Sources */ = {isa = PBXBuildFile; fileRef = 618FA5000DAE88B40026945C /* SUInstaller.m */; }; + 8B887B891517FB3E000BB292 /* SULog.m in Sources */ = {isa = PBXBuildFile; fileRef = 55C14F05136EF6DB00649790 /* SULog.m */; }; + 8B887B8A1517FB43000BB292 /* SUConstants.m in Sources */ = {isa = PBXBuildFile; fileRef = 61299A5F09CA6EB100B7442F /* SUConstants.m */; }; + 8B887B8B1517FB52000BB292 /* SUPackageInstaller.m in Sources */ = {isa = PBXBuildFile; fileRef = 618FA5210DAE8E8A0026945C /* SUPackageInstaller.m */; }; + 8B887B8C1517FB5D000BB292 /* AppKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0867D6A5FE840307C02AAC07 /* AppKit.framework */; }; + 8B887B8E15180767000BB292 /* sandbox_service.m in Sources */ = {isa = PBXBuildFile; fileRef = 8B887B8D15180767000BB292 /* sandbox_service.m */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -162,6 +176,13 @@ remoteGlobalIDString = 8DC2EF4F0486A6940098B216; remoteInfo = Sparkle; }; + 8B887B731517F472000BB292 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 0867D690FE84028FC02AAC07 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 8B887B5D1517F3AB000BB292; + remoteInfo = Service; + }; /* End PBXContainerItemProxy section */ /* Begin PBXCopyFilesBuildPhase section */ @@ -178,6 +199,10 @@ /* End PBXCopyFilesBuildPhase section */ /* Begin PBXFileReference section */ + 0263187214FEBB31005EBF43 /* uk */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = uk; path = uk.lproj/Sparkle.strings; sourceTree = ""; }; + 0263187514FEBB42005EBF43 /* uk */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = uk; path = uk.lproj/SUAutomaticUpdateAlert.xib; sourceTree = ""; }; + 0263187614FEBB42005EBF43 /* uk */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = uk; path = uk.lproj/SUUpdateAlert.xib; sourceTree = ""; }; + 0263187714FEBB42005EBF43 /* uk */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = uk; path = uk.lproj/SUUpdatePermissionPrompt.xib; sourceTree = ""; }; 0867D69BFE84028FC02AAC07 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = ""; }; 0867D6A5FE840307C02AAC07 /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = ""; }; 3772FEA813DE0B6B00F79537 /* SUVersionDisplayProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUVersionDisplayProtocol.h; sourceTree = ""; }; @@ -358,10 +383,14 @@ 61B93B260DD0FDD300DCD2F8 /* SUAutomaticUpdateDriver.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUAutomaticUpdateDriver.m; sourceTree = ""; }; 61B93C070DD112FF00DCD2F8 /* SUScheduledUpdateDriver.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUScheduledUpdateDriver.h; sourceTree = ""; }; 61B93C080DD112FF00DCD2F8 /* SUScheduledUpdateDriver.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUScheduledUpdateDriver.m; sourceTree = ""; }; + 61BA66CC14BDFA0400D02D86 /* sl */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = sl; path = sl.lproj/Sparkle.strings; sourceTree = ""; }; + 61BA66DA14BDFC5500D02D86 /* sl */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = sl; path = sl.lproj/SUAutomaticUpdateAlert.xib; sourceTree = ""; }; + 61BA66DB14BDFC5500D02D86 /* sl */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = sl; path = sl.lproj/SUUpdateAlert.xib; sourceTree = ""; }; + 61BA66DC14BDFC5500D02D86 /* sl */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = sl; path = sl.lproj/SUUpdatePermissionPrompt.xib; sourceTree = ""; }; 61BBDF810A49220C00378739 /* Sparkle.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = Sparkle.icns; sourceTree = ""; }; 61C268090E2DB5D000175E6C /* License.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = License.txt; sourceTree = ""; }; 61CFB3280E385186007A1735 /* Sparkle.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Sparkle.pch; sourceTree = ""; }; - 61DEC1161477565C00931268 /* ro */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ro; path = ro.lproj/Sparkle.strings; sourceTree = ""; }; + 61DEC1161477565C00931268 /* ro */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = ro; path = ro.lproj/Sparkle.strings; sourceTree = ""; }; 61DEC1181477566800931268 /* ro */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = ro; path = ro.lproj/SUUpdatePermissionPrompt.xib; sourceTree = ""; }; 61DEC11A1477567800931268 /* ro */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = ro; path = ro.lproj/SUUpdateAlert.xib; sourceTree = ""; }; 61DEC11C1477568300931268 /* ro */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = ro; path = ro.lproj/SUAutomaticUpdateAlert.xib; sourceTree = ""; }; @@ -371,6 +400,15 @@ 61F614540E24A12D009F47E7 /* it */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = it; path = it.lproj/Sparkle.strings; sourceTree = ""; }; 61F83F6F0DBFE137006FDD30 /* SUBasicUpdateDriver.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUBasicUpdateDriver.h; sourceTree = ""; }; 61F83F700DBFE137006FDD30 /* SUBasicUpdateDriver.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUBasicUpdateDriver.m; sourceTree = ""; }; + 8B887B5E1517F3AB000BB292 /* com.andymatuschak.Sparkle.SandboxService.xpc */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = com.andymatuschak.Sparkle.SandboxService.xpc; sourceTree = BUILT_PRODUCTS_DIR; }; + 8B887B601517F3AC000BB292 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; + 8B887B701517F447000BB292 /* ConfigService.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = ConfigService.xcconfig; sourceTree = ""; }; + 8B887B711517F447000BB292 /* ConfigServiceDebug.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = ConfigServiceDebug.xcconfig; sourceTree = ""; }; + 8B887B721517F447000BB292 /* ConfigServiceRelease.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = ConfigServiceRelease.xcconfig; sourceTree = ""; }; + 8B887B7C1517F888000BB292 /* SUXPC.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUXPC.h; sourceTree = SOURCE_ROOT; }; + 8B887B7D1517F888000BB292 /* SUXPC.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUXPC.m; sourceTree = SOURCE_ROOT; }; + 8B887B8D15180767000BB292 /* sandbox_service.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = sandbox_service.m; sourceTree = SOURCE_ROOT; }; + 8B887B8F15180773000BB292 /* SandboxService.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = SandboxService.plist; sourceTree = SOURCE_ROOT; }; 8DC2EF5A0486A6940098B216 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist; path = Info.plist; sourceTree = ""; }; 8DC2EF5B0486A6940098B216 /* Sparkle.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Sparkle.framework; sourceTree = BUILT_PRODUCTS_DIR; }; FA1941CA0D94A70100DD942E /* ConfigFrameworkDebug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = ConfigFrameworkDebug.xcconfig; sourceTree = ""; }; @@ -431,6 +469,18 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + 8B887B5B1517F3AB000BB292 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 8B887B611517F3AC000BB292 /* Foundation.framework in Frameworks */, + 8B887B831517FAE9000BB292 /* SystemConfiguration.framework in Frameworks */, + 8B887B841517FAEC000BB292 /* IOKit.framework in Frameworks */, + 8B887B8C1517FB5D000BB292 /* AppKit.framework in Frameworks */, + 8B887B861517FAFE000BB292 /* Security.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; 8DC2EF560486A6940098B216 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; @@ -457,6 +507,7 @@ 612279D90DB5470200AB99EA /* Sparkle Unit Tests.octest */, 5D06E8D00FD68C7C005AE3F6 /* BinaryDelta */, 55C14BB7136EEF1500649790 /* finish_installation.app */, + 8B887B5E1517F3AB000BB292 /* com.andymatuschak.Sparkle.SandboxService.xpc */, ); name = Products; sourceTree = ""; @@ -470,12 +521,14 @@ 55C14BD5136EEFD000649790 /* finish_installation tool */, 6101354A0DD25B7F0049ACDF /* Unarchiving */, 61299B3A09CB056100B7442F /* User Interface */, + 8B887B621517F3AC000BB292 /* Sandbox Service */, 61B5F8F309C4CE5900B25A18 /* Other Sources */, 089C1665FE841158C02AAC07 /* Framework Resources */, 61227A100DB5484000AB99EA /* Tests */, 61B5F91D09C4CF7F00B25A18 /* Test Application Sources */, 0867D69AFE84028FC02AAC07 /* Apple Frameworks and Libraries */, FA1941C40D94A6EA00DD942E /* Configurations */, + 8B887B5F1517F3AB000BB292 /* Frameworks */, 034768DFFF38A50411DB9C8B /* Products */, ); name = Sparkle; @@ -690,6 +743,42 @@ name = "Update Control"; sourceTree = ""; }; + 8B887B5F1517F3AB000BB292 /* Frameworks */ = { + isa = PBXGroup; + children = ( + 8B887B601517F3AC000BB292 /* Foundation.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; + 8B887B621517F3AC000BB292 /* Sandbox Service */ = { + isa = PBXGroup; + children = ( + 8B887B801517F8B4000BB292 /* Service */, + 8B887B631517F3AC000BB292 /* Interface */, + ); + name = "Sandbox Service"; + path = Update; + sourceTree = ""; + }; + 8B887B631517F3AC000BB292 /* Interface */ = { + isa = PBXGroup; + children = ( + 8B887B7C1517F888000BB292 /* SUXPC.h */, + 8B887B7D1517F888000BB292 /* SUXPC.m */, + ); + name = Interface; + sourceTree = ""; + }; + 8B887B801517F8B4000BB292 /* Service */ = { + isa = PBXGroup; + children = ( + 8B887B8D15180767000BB292 /* sandbox_service.m */, + 8B887B8F15180773000BB292 /* SandboxService.plist */, + ); + name = Service; + sourceTree = ""; + }; FA1941C40D94A6EA00DD942E /* Configurations */ = { isa = PBXGroup; children = ( @@ -710,6 +799,9 @@ FA1941CE0D94A70100DD942E /* ConfigRelaunch.xcconfig */, FA1941D30D94A70100DD942E /* ConfigRelaunchDebug.xcconfig */, FA1941D40D94A70100DD942E /* ConfigRelaunchRelease.xcconfig */, + 8B887B701517F447000BB292 /* ConfigService.xcconfig */, + 8B887B711517F447000BB292 /* ConfigServiceDebug.xcconfig */, + 8B887B721517F447000BB292 /* ConfigServiceRelease.xcconfig */, FA3AAF3B1050B273004B3130 /* ConfigUnitTest.xcconfig */, FA3AAF3A1050B273004B3130 /* ConfigUnitTestDebug.xcconfig */, FA3AAF391050B273004B3130 /* ConfigUnitTestRelease.xcconfig */, @@ -764,6 +856,7 @@ 55C14F06136EF6DB00649790 /* SULog.h in Headers */, 55C14F0F136EF73600649790 /* finish_installation.pch in Headers */, 6158A1C5137904B300487EC1 /* SUUpdater_Private.h in Headers */, + 8B887B7E1517F888000BB292 /* SUXPC.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -843,6 +936,23 @@ productReference = 61B5F90209C4CEE200B25A18 /* Sparkle Test App.app */; productType = "com.apple.product-type.application"; }; + 8B887B5D1517F3AB000BB292 /* sandbox_service */ = { + isa = PBXNativeTarget; + buildConfigurationList = 8B887B6E1517F3AC000BB292 /* Build configuration list for PBXNativeTarget "sandbox_service" */; + buildPhases = ( + 8B887B5A1517F3AB000BB292 /* Sources */, + 8B887B5B1517F3AB000BB292 /* Frameworks */, + 8B887B5C1517F3AB000BB292 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = sandbox_service; + productName = Update; + productReference = 8B887B5E1517F3AB000BB292 /* com.andymatuschak.Sparkle.SandboxService.xpc */; + productType = "com.apple.product-type.bundle"; + }; 8DC2EF4F0486A6940098B216 /* Sparkle */ = { isa = PBXNativeTarget; buildConfigurationList = 1DEB91AD08733DA50010E9CD /* Build configuration list for PBXNativeTarget "Sparkle" */; @@ -859,6 +969,7 @@ ); dependencies = ( 55C14F97136F044100649790 /* PBXTargetDependency */, + 8B887B741517F472000BB292 /* PBXTargetDependency */, ); name = Sparkle; productInstallPath = "$(HOME)/Library/Frameworks"; @@ -915,6 +1026,8 @@ pt_PT, pt, ro, + sl, + uk, ); mainGroup = 0867D691FE84028FC02AAC07 /* Sparkle */; productRefGroup = 034768DFFF38A50411DB9C8B /* Products */; @@ -926,6 +1039,7 @@ 612279D80DB5470200AB99EA /* Sparkle Unit Tests */, 5D06E8CF0FD68C7C005AE3F6 /* BinaryDelta */, 55C14BB6136EEF1500649790 /* finish_installation */, + 8B887B5D1517F3AB000BB292 /* sandbox_service */, ); }; /* End PBXProject section */ @@ -959,6 +1073,13 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + 8B887B5C1517F3AB000BB292 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; 8DC2EF520486A6940098B216 /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; @@ -1096,6 +1217,20 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + 8B887B5A1517F3AB000BB292 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 8B887B881517FB1C000BB292 /* SUInstaller.m in Sources */, + 8B887B821517FAA4000BB292 /* SUPlainInstaller.m in Sources */, + 8B887B811517FAA3000BB292 /* SUPlainInstallerInternals.m in Sources */, + 8B887B8B1517FB52000BB292 /* SUPackageInstaller.m in Sources */, + 8B887B8A1517FB43000BB292 /* SUConstants.m in Sources */, + 8B887B891517FB3E000BB292 /* SULog.m in Sources */, + 8B887B8E15180767000BB292 /* sandbox_service.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; 8DC2EF540486A6940098B216 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; @@ -1134,6 +1269,7 @@ 5D06E8ED0FD68CE4005AE3F6 /* SUBinaryDeltaCommon.m in Sources */, 5D06E93A0FD69271005AE3F6 /* SUBinaryDeltaUnarchiver.m in Sources */, 55C14F07136EF6DB00649790 /* SULog.m in Sources */, + 8B887B7F1517F888000BB292 /* SUXPC.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -1160,6 +1296,11 @@ target = 8DC2EF4F0486A6940098B216 /* Sparkle */; targetProxy = 61FA528C0E2D9EB200EF58AD /* PBXContainerItemProxy */; }; + 8B887B741517F472000BB292 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 8B887B5D1517F3AB000BB292 /* sandbox_service */; + targetProxy = 8B887B731517F472000BB292 /* PBXContainerItemProxy */; + }; /* End PBXTargetDependency section */ /* Begin PBXVariantGroup section */ @@ -1187,6 +1328,8 @@ 6158A1BA1378F68100487EC1 /* pt_PT */, 6158A1BE1378F8BB00487EC1 /* tr */, 61DEC11C1477568300931268 /* ro */, + 61BA66DA14BDFC5500D02D86 /* sl */, + 0263187514FEBB42005EBF43 /* uk */, ); name = SUAutomaticUpdateAlert.xib; sourceTree = ""; @@ -1215,6 +1358,8 @@ 6158A1BB1378F68100487EC1 /* pt_PT */, 6158A1BF1378F8BB00487EC1 /* tr */, 61DEC11A1477567800931268 /* ro */, + 61BA66DB14BDFC5500D02D86 /* sl */, + 0263187614FEBB42005EBF43 /* uk */, ); name = SUUpdateAlert.xib; sourceTree = ""; @@ -1243,6 +1388,8 @@ 6158A1B81378F64700487EC1 /* pt_PT */, 6158A1C01378F8BB00487EC1 /* tr */, 61DEC1181477566800931268 /* ro */, + 61BA66DC14BDFC5500D02D86 /* sl */, + 0263187714FEBB42005EBF43 /* uk */, ); name = SUUpdatePermissionPrompt.xib; sourceTree = ""; @@ -1269,6 +1416,8 @@ 6186554310D7484E00B1E074 /* pt_PT */, 6160FD85134ABCD5007FFC5F /* tr */, 61DEC1161477565C00931268 /* ro */, + 61BA66CC14BDFA0400D02D86 /* sl */, + 0263187214FEBB31005EBF43 /* uk */, ); name = Sparkle.strings; sourceTree = ""; @@ -1375,7 +1524,7 @@ }; name = Release; }; - 55C14BBD136EEF1500649790 /* Release (GC dual-mode; 10.5-only) */ = { + 55C14BBD136EEF1500649790 /* Release (GC dual-mode; 10.5+) */ = { isa = XCBuildConfiguration; baseConfigurationReference = FA1941D40D94A70100DD942E /* ConfigRelaunchRelease.xcconfig */; buildSettings = { @@ -1393,7 +1542,7 @@ ); PRODUCT_NAME = finish_installation; }; - name = "Release (GC dual-mode; 10.5-only)"; + name = "Release (GC dual-mode; 10.5+)"; }; 5D06E8D20FD68C7D005AE3F6 /* Debug */ = { isa = XCBuildConfiguration; @@ -1409,20 +1558,20 @@ }; name = Release; }; - 5D06E8D40FD68C7D005AE3F6 /* Release (GC dual-mode; 10.5-only) */ = { + 5D06E8D40FD68C7D005AE3F6 /* Release (GC dual-mode; 10.5+) */ = { isa = XCBuildConfiguration; baseConfigurationReference = 5D06E8F30FD68D21005AE3F6 /* ConfigBinaryDeltaRelease.xcconfig */; buildSettings = { }; - name = "Release (GC dual-mode; 10.5-only)"; + name = "Release (GC dual-mode; 10.5+)"; }; - 61072EAD0DF263BD008FE88B /* Release (GC dual-mode; 10.5-only) */ = { + 61072EAD0DF263BD008FE88B /* Release (GC dual-mode; 10.5+) */ = { isa = XCBuildConfiguration; buildSettings = { }; - name = "Release (GC dual-mode; 10.5-only)"; + name = "Release (GC dual-mode; 10.5+)"; }; - 61072EAE0DF263BD008FE88B /* Release (GC dual-mode; 10.5-only) */ = { + 61072EAE0DF263BD008FE88B /* Release (GC dual-mode; 10.5+) */ = { isa = XCBuildConfiguration; baseConfigurationReference = 61072EB20DF2640C008FE88B /* ConfigFrameworkReleaseGCSupport.xcconfig */; buildSettings = { @@ -1433,21 +1582,21 @@ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; GCC_GENERATE_DEBUGGING_SYMBOLS = YES; }; - name = "Release (GC dual-mode; 10.5-only)"; + name = "Release (GC dual-mode; 10.5+)"; }; - 61072EAF0DF263BD008FE88B /* Release (GC dual-mode; 10.5-only) */ = { + 61072EAF0DF263BD008FE88B /* Release (GC dual-mode; 10.5+) */ = { isa = XCBuildConfiguration; baseConfigurationReference = 615409A8103BA09100125AF1 /* ConfigTestAppReleaseGCSupport.xcconfig */; buildSettings = { }; - name = "Release (GC dual-mode; 10.5-only)"; + name = "Release (GC dual-mode; 10.5+)"; }; - 61072EB10DF263BD008FE88B /* Release (GC dual-mode; 10.5-only) */ = { + 61072EB10DF263BD008FE88B /* Release (GC dual-mode; 10.5+) */ = { isa = XCBuildConfiguration; baseConfigurationReference = FA302AFD109D13190060F891 /* ConfigUnitTestReleaseGCSupport.xcconfig */; buildSettings = { }; - name = "Release (GC dual-mode; 10.5-only)"; + name = "Release (GC dual-mode; 10.5+)"; }; 612279DB0DB5470300AB99EA /* Debug */ = { isa = XCBuildConfiguration; @@ -1477,6 +1626,30 @@ }; name = Release; }; + 8B887B6B1517F3AC000BB292 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 8B887B711517F447000BB292 /* ConfigServiceDebug.xcconfig */; + buildSettings = { + INFOPLIST_FILE = SandboxService.plist; + }; + name = Debug; + }; + 8B887B6C1517F3AC000BB292 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 8B887B721517F447000BB292 /* ConfigServiceRelease.xcconfig */; + buildSettings = { + INFOPLIST_FILE = SandboxService.plist; + }; + name = Release; + }; + 8B887B6D1517F3AC000BB292 /* Release (GC dual-mode; 10.5+) */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 8B887B721517F447000BB292 /* ConfigServiceRelease.xcconfig */; + buildSettings = { + INFOPLIST_FILE = SandboxService.plist; + }; + name = "Release (GC dual-mode; 10.5+)"; + }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ @@ -1485,7 +1658,7 @@ buildConfigurations = ( 1DEB91AE08733DA50010E9CD /* Debug */, 1DEB91AF08733DA50010E9CD /* Release */, - 61072EAE0DF263BD008FE88B /* Release (GC dual-mode; 10.5-only) */, + 61072EAE0DF263BD008FE88B /* Release (GC dual-mode; 10.5+) */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; @@ -1495,7 +1668,7 @@ buildConfigurations = ( 1DEB91B208733DA50010E9CD /* Debug */, 1DEB91B308733DA50010E9CD /* Release */, - 61072EAD0DF263BD008FE88B /* Release (GC dual-mode; 10.5-only) */, + 61072EAD0DF263BD008FE88B /* Release (GC dual-mode; 10.5+) */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; @@ -1505,7 +1678,7 @@ buildConfigurations = ( 55C14BBB136EEF1500649790 /* Debug */, 55C14BBC136EEF1500649790 /* Release */, - 55C14BBD136EEF1500649790 /* Release (GC dual-mode; 10.5-only) */, + 55C14BBD136EEF1500649790 /* Release (GC dual-mode; 10.5+) */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; @@ -1515,7 +1688,7 @@ buildConfigurations = ( 5D06E8D20FD68C7D005AE3F6 /* Debug */, 5D06E8D30FD68C7D005AE3F6 /* Release */, - 5D06E8D40FD68C7D005AE3F6 /* Release (GC dual-mode; 10.5-only) */, + 5D06E8D40FD68C7D005AE3F6 /* Release (GC dual-mode; 10.5+) */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; @@ -1525,7 +1698,7 @@ buildConfigurations = ( 612279DB0DB5470300AB99EA /* Debug */, 612279DC0DB5470300AB99EA /* Release */, - 61072EB10DF263BD008FE88B /* Release (GC dual-mode; 10.5-only) */, + 61072EB10DF263BD008FE88B /* Release (GC dual-mode; 10.5+) */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; @@ -1535,7 +1708,17 @@ buildConfigurations = ( 61B5F90609C4CEE300B25A18 /* Debug */, 61B5F90709C4CEE300B25A18 /* Release */, - 61072EAF0DF263BD008FE88B /* Release (GC dual-mode; 10.5-only) */, + 61072EAF0DF263BD008FE88B /* Release (GC dual-mode; 10.5+) */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 8B887B6E1517F3AC000BB292 /* Build configuration list for PBXNativeTarget "sandbox_service" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 8B887B6B1517F3AC000BB292 /* Debug */, + 8B887B6C1517F3AC000BB292 /* Release */, + 8B887B6D1517F3AC000BB292 /* Release (GC dual-mode; 10.5+) */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; diff --git a/Sparkle.xcodeproj/xcshareddata/xcschemes/Sparkle.xcscheme b/Sparkle.xcodeproj/xcshareddata/xcschemes/Sparkle.xcscheme index 1e1a1d5e..409c3fd5 100644 --- a/Sparkle.xcodeproj/xcshareddata/xcschemes/Sparkle.xcscheme +++ b/Sparkle.xcodeproj/xcshareddata/xcschemes/Sparkle.xcscheme @@ -33,6 +33,20 @@ ReferencedContainer = "container:Sparkle.xcodeproj"> + + + + + + + 1050 + 10J869 + 1306 + 1038.35 + 461.00 + + com.apple.InterfaceBuilder.CocoaPlugin + 1306 + + + NSTextField + NSView + NSWindowTemplate + NSUserDefaultsController + NSTextFieldCell + NSImageCell + NSButtonCell + NSImageView + NSButton + NSCustomObject + + + com.apple.InterfaceBuilder.CocoaPlugin + + + + + SUAutomaticUpdateAlert + + + FirstResponder + + + NSApplication + + + 1 + 2 + {{114, 521}, {756, 152}} + 1886912512 + + + NSWindow + + + View + + {511, 152} + + + 256 + + + + 268 + + Apple PDF pasteboard type + Apple PICT pasteboard type + Apple PNG pasteboard type + NSFilenamesPboardType + NeXT Encapsulated PostScript v1.2 pasteboard type + NeXT TIFF v4.0 pasteboard type + + {{23, 73}, {64, 64}} + + + + YES + + 130560 + 33554432 + + NSImage + NSApplicationIcon + + 0 + 0 + 0 + NO + + YES + + + + 268 + {{105, 120}, {389, 17}} + + + + YES + + 67239424 + 272629760 + + + LucidaGrande-Bold + 13 + 2072 + + + + 6 + System + controlColor + + 3 + MC42NjY2NjY2NjY3AA + + + + 6 + System + controlTextColor + + 3 + MAA + + + + + + + 270 + {{105, 81}, {435, 31}} + + + + YES + + 67239424 + 272629760 + + + LucidaGrande + 11 + 3100 + + + + + + + + + 257 + {{494, 12}, {248, 32}} + + + + YES + + 67239424 + 134217728 + Εγκατάσταση και Επανεκκίνηση + + LucidaGrande + 13 + 1044 + + + -2038284033 + 1 + + + DQ + 200 + 25 + + + + + 257 + {{286, 12}, {208, 32}} + + + + YES + + 67239424 + 134217728 + Εγκατάσταση στην Έξοδο + + + -2038284033 + 1 + + + Gw + 200 + 25 + + + + + 256 + {{74, 12}, {212, 32}} + + + + YES + + 67239424 + 134217728 + Παράλειψη Εγκατάστασης + + + -2038284033 + 1 + + + + + + 200 + 25 + + + + + 256 + {{105, 58}, {382, 18}} + + + + YES + + 67239424 + 131072 + Αυτόματη λήψη και εγκατάσταση ενημερώσεων στο μέλλον + + + 1211912703 + 2 + + NSSwitch + + + + 200 + 25 + + + + {{7, 11}, {756, 152}} + + + + + {{0, 0}, {1280, 778}} + {511, 174} + {1e+13, 1e+13} + + + YES + + + + + + + value: applicationIcon + + + + + + value: applicationIcon + value + applicationIcon + 2 + + + 10 + + + + value: titleText + + + + + + value: titleText + value + titleText + 2 + + + 11 + + + + value: descriptionText + + + + + + value: descriptionText + value + descriptionText + 2 + + + 14 + + + + value: values.SUAutomaticallyUpdate + + + + + + value: values.SUAutomaticallyUpdate + value + values.SUAutomaticallyUpdate + 2 + + + 19 + + + + window + + + + 22 + + + + installNow: + + + + 33 + + + + installLater: + + + + 34 + + + + doNotInstall: + + + + 35 + + + + + + 0 + + + + + + -2 + + + File's Owner + + + -1 + + + First Responder + + + -3 + + + Application + + + 5 + + + + + + Window + + + 6 + + + + + + + + + + + + + + 7 + + + + + + + + 8 + + + + + + + + 9 + + + + + + + + 15 + + + + + + + + 16 + + + + + + + + 17 + + + + + + + + 30 + + + + + + + + 18 + + + Shared Defaults + + + 38 + + + + + 39 + + + + + 40 + + + + + 41 + + + + + 42 + + + + + 43 + + + + + 44 + + + + + + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + + + + + + 44 + + + 0 + IBCocoaFramework + + com.apple.InterfaceBuilder.CocoaPlugin.macosx + + + YES + 3 + + NSApplicationIcon + {128, 128} + + + diff --git a/el.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib b/el.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib new file mode 100644 index 00000000..69ca444d Binary files /dev/null and b/el.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib differ diff --git a/el.lproj/SUAutomaticUpdateAlert.strings b/el.lproj/SUAutomaticUpdateAlert.strings index dda978f1..8a48e7f7 100644 Binary files a/el.lproj/SUAutomaticUpdateAlert.strings and b/el.lproj/SUAutomaticUpdateAlert.strings differ diff --git a/el.lproj/SUStatus.strings b/el.lproj/SUStatus.strings new file mode 100644 index 00000000..ad32ad70 Binary files /dev/null and b/el.lproj/SUStatus.strings differ diff --git a/el.lproj/SUUpdateAlert.nib/designable.nib b/el.lproj/SUUpdateAlert.nib/designable.nib new file mode 100644 index 00000000..584ade5f --- /dev/null +++ b/el.lproj/SUUpdateAlert.nib/designable.nib @@ -0,0 +1,801 @@ + + + + 1050 + 10J869 + 1306 + 1038.35 + 461.00 + + 1306 + 30 + + + NSButton + NSTextFieldCell + NSButtonCell + NSImageView + NSBox + NSImageCell + WebView + NSCustomObject + NSView + NSWindowTemplate + NSTextField + NSUserDefaultsController + + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.WebKitIBPlugin + + + + + SUUpdateAlert + + + FirstResponder + + + NSApplication + + + 15 + 2 + {{248, 468}, {687, 370}} + -260571136 + Software Update + NSWindow + + View + + {586, 370} + + + 256 + + + + 268 + + Apple PDF pasteboard type + Apple PICT pasteboard type + Apple PNG pasteboard type + NSFilenamesPboardType + NeXT Encapsulated PostScript v1.2 pasteboard type + NeXT TIFF v4.0 pasteboard type + + {{24, 291}, {64, 64}} + + + + YES + + 130560 + 33554432 + + NSImage + NSApplicationIcon + + 0 + 0 + 0 + NO + + YES + + + + 264 + {{106, 338}, {443, 17}} + + + + YES + + 67239424 + 272629760 + + + LucidaGrande-Bold + 13 + 2072 + + + + 6 + System + controlColor + + 3 + MC42NjY2NjY2NjY3AA + + + + 6 + System + controlTextColor + + 3 + MAA + + + + + + + 268 + {{106, 277}, {443, 17}} + + + + YES + + 67239424 + 272629760 + Σημειώσεις Έκδοσης: + + LucidaGrande-Bold + 11 + 3357 + + + + + + + + + 289 + {{276, 12}, {184, 32}} + + + + YES + + 67239424 + 134217728 + Υπενθύμιση Αργότερα + + LucidaGrande + 13 + 1044 + + + -2038284033 + 1 + + + Gw + 200 + 25 + + + + + 288 + {{103, 12}, {173, 32}} + + + + YES + + 67239424 + 134217728 + Παράλειψη Έκδοσης + + + -2038284033 + 1 + + + + + + 200 + 25 + + + + + 289 + {{460, 12}, {213, 32}} + + + + YES + + -2080244224 + 134217728 + Εγκατάσταση Ενημέρωσης + + + -2038284033 + 1 + + + DQ + 200 + 25 + + + + + 274 + + + + 256 + + + + 274 + + Apple HTML pasteboard type + Apple PDF pasteboard type + Apple PICT pasteboard type + Apple URL pasteboard type + Apple Web Archive pasteboard type + NSColor pasteboard type + NSFilenamesPboardType + NSStringPboardType + NeXT RTFD pasteboard type + NeXT Rich Text Format v1.0 pasteboard type + NeXT TIFF v4.0 pasteboard type + WebURLsWithTitlesPboardType + public.png + public.url + public.url-name + + {{-1, 0}, {558, 197}} + + + + + + + + + + + + + + NO + YES + + + {{1, 1}, {556, 197}} + + + + + + {{109, 76}, {558, 199}} + + + + {0, 0} + + 67239424 + 0 + + + LucidaGrande + 11 + 16 + + + 6 + System + textBackgroundColor + + 3 + MQA + + + + 3 + MCAwLjgwMDAwMDAxAA + + + + 1 + 3 + 0 + NO + + + + 266 + {{106, 302}, {463, 28}} + + + + YES + + 67239424 + 4194304 + + + LucidaGrande + 11 + 3100 + + + + + + + + + 256 + {{106, 48}, {442, 18}} + + + + YES + + 67239424 + 131072 + Αυτόματη λήψη και εγκατάσταση ενημερώσεων στο μέλλον + + + 1211912703 + 2 + + NSSwitch + + + + 200 + 25 + + + + {{7, 11}, {687, 370}} + + + + + {{0, 0}, {1280, 778}} + {586, 392} + {1e+13, 1e+13} + + + + YES + + + + + + + value: applicationIcon + + + + + + value: applicationIcon + value + applicationIcon + 2 + + + 9 + + + + value: titleText + + + + + + value: titleText + value + titleText + 2 + + + 11 + + + + releaseNotesView + + + + 32 + + + + skipThisVersion: + + + + 33 + + + + remindMeLater: + + + + 34 + + + + delegate + + + + 50 + + + + window + + + + 69 + + + + hidden: showsReleaseNotes + + + + + + hidden: showsReleaseNotes + hidden + showsReleaseNotes + + NSValueTransformerName + NSNegateBoolean + + 2 + + + 72 + + + + installUpdate: + + + + 77 + + + + value: descriptionText + + + + + + value: descriptionText + value + descriptionText + 2 + + + 103 + + + + description + + + + 105 + + + + value: values.SUAutomaticallyUpdate + + + + + + value: values.SUAutomaticallyUpdate + value + values.SUAutomaticallyUpdate + 2 + + + 135 + + + + hidden: allowsAutomaticUpdates + + + + + + hidden: allowsAutomaticUpdates + hidden + allowsAutomaticUpdates + + NSValueTransformerName + NSNegateBoolean + + 2 + + + 141 + + + + hidden: showsReleaseNotes + + + + + + hidden: showsReleaseNotes + hidden + showsReleaseNotes + + NSValueTransformerName + NSNegateBoolean + + 2 + + + 161 + + + + hidden: showsReleaseNotes + + + + + + hidden: showsReleaseNotes + hidden + showsReleaseNotes + + NSValueTransformerName + NSNegateBoolean + + 2 + + + 164 + + + + + + 0 + + + + + + -2 + + + File's Owner + + + -1 + + + First Responder + + + -3 + + + Application + + + 5 + + + + + + Update Alert (release notes) + + + 6 + + + + + + + + + + + + + + + + 7 + + + + + + + + 10 + + + + + + + + 17 + + + + + + + + 22 + + + + + + + + 23 + + + + + + + + 76 + + + + + + + + 89 + + + + + + + + 101 + + + + + + + + 117 + + + + + + + + 93 + + + Shared Defaults + + + 168 + + + + + 169 + + + + + 170 + + + + + 171 + + + + + 172 + + + + + 173 + + + + + 174 + + + + + 175 + + + + + 18 + + + + + + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.WebKitIBPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + + + + + + 175 + + + 0 + IBCocoaFramework + + com.apple.InterfaceBuilder.CocoaPlugin.macosx + + + YES + 3 + + NSApplicationIcon + {128, 128} + + + diff --git a/el.lproj/SUUpdateAlert.nib/keyedobjects.nib b/el.lproj/SUUpdateAlert.nib/keyedobjects.nib new file mode 100644 index 00000000..06bba98e Binary files /dev/null and b/el.lproj/SUUpdateAlert.nib/keyedobjects.nib differ diff --git a/el.lproj/SUUpdateAlert.strings b/el.lproj/SUUpdateAlert.strings index 251628a6..5baabbdb 100644 Binary files a/el.lproj/SUUpdateAlert.strings and b/el.lproj/SUUpdateAlert.strings differ diff --git a/el.lproj/SUUpdatePermissionPrompt.nib/designable.nib b/el.lproj/SUUpdatePermissionPrompt.nib/designable.nib new file mode 100644 index 00000000..da8ddadf --- /dev/null +++ b/el.lproj/SUUpdatePermissionPrompt.nib/designable.nib @@ -0,0 +1,975 @@ + + + + 1050 + 10J869 + 1306 + 1038.35 + 461.00 + + com.apple.InterfaceBuilder.CocoaPlugin + 1306 + + + NSUserDefaultsController + NSScroller + NSArrayController + NSButton + NSScrollView + NSImageView + NSTextFieldCell + NSButtonCell + NSImageCell + NSTableView + NSCustomView + NSCustomObject + NSView + NSWindowTemplate + NSTextField + NSTableColumn + + + com.apple.InterfaceBuilder.CocoaPlugin + + + + + SUUpdatePermissionPrompt + + + FirstResponder + + + NSApplication + + + 1 + 2 + {{83, 492}, {438, 168}} + 1886912512 + + + NSWindow + + + View + + {213, 107} + + + 256 + + + + 257 + {{255, 12}, {169, 32}} + + + + 1 + YES + + -2080244224 + 134217728 + Έλεγχος Αυτόματα + + LucidaGrande + 13 + 1044 + + + 1 + -2038284033 + 1 + + + DQ + 200 + 25 + + + + + 257 + {{138, 12}, {117, 32}} + + + + YES + + 67239424 + 134217728 + Μή έλεγχος + + + -2038284033 + 1 + + + Gw + 200 + 25 + + + + + 264 + {{104, 114}, {289, 34}} + + + + YES + + 67239424 + 272629760 + Αυτόματος έλεγχος για ενημερώσεις; + + LucidaGrande-Bold + 13 + 2072 + + + + 6 + System + controlColor + + 3 + MC42NjY2NjY2NjY3AA + + + + 6 + System + controlTextColor + + 3 + MAA + + + + + + + 266 + {{104, 81}, {315, 42}} + + + + YES + + 67239424 + 272629760 + DO NOT LOCALIZE + + LucidaGrande + 11 + 3100 + + + + + + + + + 264 + {{104, 53}, {278, 18}} + + + + YES + + -2080244224 + 163840 + Αποστολή ανώνυμου προφίλ συστήματος + + + 1211912703 + 2 + + NSImage + NSSwitch + + + NSSwitch + + + + 200 + 25 + + + + + 264 + + Apple PDF pasteboard type + Apple PICT pasteboard type + Apple PNG pasteboard type + NSFilenamesPboardType + NeXT Encapsulated PostScript v1.2 pasteboard type + NeXT TIFF v4.0 pasteboard type + + {{23, 84}, {64, 64}} + + + + YES + + 130560 + 33554432 + + NSImage + NSApplicationIcon + + 0 + 1 + 0 + YES + + YES + + + + 265 + {{80, 50}, {27, 26}} + + + + YES + + 67239424 + 134250496 + + + + -1194573569 + 133 + + + 200 + 25 + + + + {{7, 11}, {438, 168}} + + + + + {{0, 0}, {1280, 778}} + {213, 129} + {1e+13, 1e+13} + + + + visibleKey + visibleValue + displayValue + displayKey + + + YES + YES + YES + YES + YES + + + + 266 + + + + 274 + + + + 2304 + + + + 4352 + {353, 113} + + + YES + + + 256 + {{346, 0}, {12, 17}} + + + + 128 + 40 + 1000 + + 75628096 + 2048 + + + + 3 + MC4zMzMzMzI5OQA + + + 6 + System + headerTextColor + + + + + 69336577 + 131072 + Text Cell + + + + 6 + System + textBackgroundColor + + 3 + MQA + + + + + 3 + YES + + + + 219 + 40 + 1000 + + 75628096 + 2048 + + + + + + + 69336577 + 131072 + Text Cell + + + + + + 3 + YES + + + + 3 + 2 + + + 6 + System + gridColor + + 3 + MC41AA + + + 14 + -759169024 + + + 4 + 15 + 0 + NO + 0 + + + {{1, 1}, {353, 113}} + + + + + + 6 + System + controlBackgroundColor + + + 4 + + + + -2147483392 + {{-22, 1}, {11, 125}} + + + 256 + + _doScroller: + 0.78125 + + + + -2147483392 + {{-100, -100}, {345, 11}} + + + 257 + + _doScroller: + 0.99047619104385376 + + + {{4, 5}, {355, 115}} + + + + 530 + + + + AAAAAAAAAABBgAAAQYAAAA + + + + 266 + {{1, 128}, {358, 70}} + + + YES + + 67239424 + 272629760 + zqTOvyDOsc69z47Ovc+FzrzOvyDPgM+Bzr/Phs6vzrsgz4PPhc+Dz4TOrs68zrHPhM6/z4Igz4fPgc63 +z4POuc68zr/PgM6/zrnOtc6vz4TOsc65IM6zzrnOsSDOvc6xIM68zrHPgiDOss6/zrfOuM6uz4POtc65 +IM+DzrUgzrzOtc67zrvOv869z4TOuc66zq4gzrHOvc6sz4DPhM+Fzr7OtyDPhM6/z4Ugz4DPgc6/zrPP +gc6szrzOvM6xz4TOv8+CLiDOoM6xz4HOsc66zrHOu8+OIM61z4DOuc66zr/Ouc69z4nOvc6uz4PPhM61 +IM68zrHOts6vIM68zrHPgiDOrM69IM6tz4fOtc+EzrUgzrXPgc+Jz4TOrs+DzrXOuc+CLgoKzpHPhc+E +zq3PgiDOtc6vzr3Osc65IM6/zrkgz4DOu863z4HOv8+Gzr/Pgc6vzrXPgiDPgM6/z4UgzrjOsSDPg8+E +zrHOu86/z43OvTo + + + + + + + + {362, 205} + + + NSView + NSResponder + + + + SUIncludeProfile + SUSendProfileInfo + + YES + + + + + + + contentArray: systemProfileInformationArray + + + + + + contentArray: systemProfileInformationArray + contentArray + systemProfileInformationArray + 2 + + + 25 + + + + window + + + + 126 + + + + moreInfoView + + + + 127 + + + + value: icon + + + + + + value: icon + value + icon + 2 + + + 130 + + + + toggleMoreInfo: + + + + 131 + + + + moreInfoButton + + + + 132 + + + + descriptionTextField + + + + 133 + + + + hidden: shouldAskAboutProfile + + + + + + hidden: shouldAskAboutProfile + hidden + shouldAskAboutProfile + + NSValueTransformerName + NSNegateBoolean + + 2 + + + 139 + + + + hidden: shouldAskAboutProfile + + + + + + hidden: shouldAskAboutProfile + hidden + shouldAskAboutProfile + + NSValueTransformerName + NSNegateBoolean + + 2 + + + 143 + + + + finishPrompt: + + + + 144 + + + + finishPrompt: + + + + 145 + + + + value: shouldSendProfile + + + + + + value: shouldSendProfile + value + shouldSendProfile + + + + + 2 + + + 148 + + + + value: promptDescription + + + + + + value: promptDescription + value + promptDescription + 2 + + + 161 + + + + value: arrangedObjects.displayValue + + + + + + value: arrangedObjects.displayValue + value + arrangedObjects.displayValue + 2 + + + 173 + + + + value: arrangedObjects.displayKey + + + + + + value: arrangedObjects.displayKey + value + arrangedObjects.displayKey + 2 + + + 174 + + + + + + 0 + + + + + + -2 + + + File's Owner + + + -1 + + + First Responder + + + -3 + + + Application + + + 5 + + + + + + Profile Info + + + 6 + + + + + + + + + + + + + + 13 + + + + + + + + 14 + + + + + + + + 32 + + + + + + + + 33 + + + + + + + + 34 + + + + + + + + 37 + + + + + + + + 71 + + + + + + + + 24 + + + Array Controller + + + 39 + + + + + + + MoreInfoView + + + 40 + + + + + + + + + + 41 + + + + + + + + + 42 + + + + + + + + 43 + + + + + 44 + + + + + + + + 45 + + + + + 46 + + + + + + + + 49 + + + User Defaults Controller + + + 176 + + + + + 177 + + + + + 178 + + + + + 179 + + + + + 180 + + + + + 181 + + + + + 182 + + + + + 183 + + + + + 184 + + + + + 185 + + + + + + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + + + + + + 185 + + + 0 + IBCocoaFramework + + com.apple.InterfaceBuilder.CocoaPlugin.macosx + + + YES + 3 + + {128, 128} + {15, 15} + + + diff --git a/el.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib b/el.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib new file mode 100644 index 00000000..cdf7fa2c Binary files /dev/null and b/el.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib differ diff --git a/el.lproj/Sparkle.strings b/el.lproj/Sparkle.strings index 311ac34b..e159bd27 100644 Binary files a/el.lproj/Sparkle.strings and b/el.lproj/Sparkle.strings differ diff --git a/finish_installation.m b/finish_installation.m index fbae37f7..b3ad7643 100644 --- a/finish_installation.m +++ b/finish_installation.m @@ -14,6 +14,7 @@ @interface TerminationListener : NSObject { + const char *hostpath; const char *executablepath; pid_t parentprocessid; const char *folderpath; @@ -36,12 +37,13 @@ @implementation TerminationListener -- (id) initWithExecutablePath:(const char *)execpath parentProcessId:(pid_t)ppid folderPath: (const char*)infolderpath shouldRelaunch:(BOOL)relaunch +- (id) initWithHostPath:(const char *)inhostpath executablePath:(const char *)execpath parentProcessId:(pid_t)ppid folderPath: (const char*)infolderpath shouldRelaunch:(BOOL)relaunch selfPath: (NSString*)inSelfPath { if( !(self = [super init]) ) return nil; + hostpath = inhostpath; executablepath = execpath; parentprocessid = ppid; folderpath = infolderpath; @@ -110,31 +112,33 @@ if (shouldRelaunch) { NSString *appPath = nil; - if( !folderpath ) + if( !folderpath || strcmp(executablepath, hostpath) != 0 ) appPath = [[NSFileManager defaultManager] stringWithFileSystemRepresentation:executablepath length:strlen(executablepath)]; else appPath = [host installationPath]; + [[NSWorkspace sharedWorkspace] openFile: appPath]; - if( folderpath ) - { - NSError* theError = nil; - if( ![SUPlainInstaller _removeFileAtPath: [SUInstaller updateFolder] error: &theError] ) - SULog( @"Couldn't remove update folder: %@.", theError ); - } - #if MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_4 - [[NSFileManager defaultManager] removeFileAtPath: selfPath handler: nil]; - #else - [[NSFileManager defaultManager] removeItemAtPath: selfPath error: NULL]; - #endif } - + + if (folderpath) + { + NSError *theError = nil; + if( ![SUPlainInstaller _removeFileAtPath: [SUInstaller updateFolder] error: &theError] ) + SULog( @"Couldn't remove update folder: %@.", theError ); + } +#if MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_4 + [[NSFileManager defaultManager] removeFileAtPath: selfPath handler: nil]; +#else + [[NSFileManager defaultManager] removeItemAtPath: selfPath error: NULL]; +#endif + exit(EXIT_SUCCESS); } - (void) install { - NSBundle *theBundle = [NSBundle bundleWithPath: [[NSFileManager defaultManager] stringWithFileSystemRepresentation: executablepath length:strlen(executablepath)]]; + NSBundle *theBundle = [NSBundle bundleWithPath: [[NSFileManager defaultManager] stringWithFileSystemRepresentation: hostpath length:strlen(hostpath)]]; host = [[SUHost alloc] initWithBundle: theBundle]; // Perhaps a poor assumption but: if we're not relaunching, we assume we shouldn't be showing any UI either. Because non-relaunching installations are kicked off without any user interaction, we shouldn't be interrupting them. @@ -169,7 +173,7 @@ int main (int argc, const char * argv[]) { - if( argc < 4 || argc > 5 ) + if( argc < 5 || argc > 6 ) return EXIT_FAILURE; NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; @@ -192,11 +196,12 @@ int main (int argc, const char * argv[]) #endif [NSApplication sharedApplication]; - [[[TerminationListener alloc] initWithExecutablePath: (argc > 1) ? argv[1] : NULL - parentProcessId: (argc > 2) ? atoi(argv[2]) : 0 - folderPath: (argc > 3) ? argv[3] : NULL - shouldRelaunch: (argc > 4) ? atoi(argv[4]) : 1 - selfPath: selfPath] autorelease]; + [[[TerminationListener alloc] initWithHostPath: (argc > 1) ? argv[1] : NULL + executablePath: (argc > 2) ? argv[2] : NULL + parentProcessId: (argc > 3) ? atoi(argv[3]) : 0 + folderPath: (argc > 4) ? argv[4] : NULL + shouldRelaunch: (argc > 5) ? atoi(argv[5]) : 1 + selfPath: selfPath] autorelease]; [[NSApplication sharedApplication] run]; [pool drain]; diff --git a/ja.lproj/SUAutomaticUpdateAlert.strings b/ja.lproj/SUAutomaticUpdateAlert.strings index dbe4b958..38beb7ce 100644 Binary files a/ja.lproj/SUAutomaticUpdateAlert.strings and b/ja.lproj/SUAutomaticUpdateAlert.strings differ diff --git a/ja.lproj/SUAutomaticUpdateAlert.xib b/ja.lproj/SUAutomaticUpdateAlert.xib index d291fbd2..037bdd95 100644 --- a/ja.lproj/SUAutomaticUpdateAlert.xib +++ b/ja.lproj/SUAutomaticUpdateAlert.xib @@ -2,13 +2,13 @@ 1050 - 11A453 - 1553 - 1120 - 556.00 + 11D50 + 1938 + 1138.32 + 568.00 com.apple.InterfaceBuilder.CocoaPlugin - 1553 + 1938 YES @@ -28,11 +28,8 @@ com.apple.InterfaceBuilder.CocoaPlugin - YES - - YES - - + PluginDependencyRecalculationVersion + YES @@ -81,6 +78,7 @@ {{23, 73}, {64, 64}} + YES 130560 @@ -101,6 +99,7 @@ 270 {{105, 120}, {557, 17}} + YES 67239424 @@ -137,12 +136,13 @@ 270 {{105, 81}, {557, 31}} + YES 67239424 272629760 - + LucidaGrande 11 3100 @@ -157,6 +157,7 @@ 257 {{481, 12}, {183, 32}} + YES 67239424 @@ -182,12 +183,17 @@ 257 {{311, 12}, {170, 32}} + YES 67239424 134217728 - 終了次第インストール - + 終了してインストール + + AquaKana + 13 + 16 + -2038284033 1 @@ -203,6 +209,7 @@ 256 {{102, 12}, {157, 32}} + YES 67239424 @@ -226,12 +233,17 @@ 256 {{105, 58}, {619, 18}} + YES 67239424 131072 - 今後のアップデートを自動的にダウンロード/インストール - + 今後はアップデートのダウンロードとインストールを自動で行う + + AquaKana + 11 + 16 + 1211912703 2 @@ -251,8 +263,9 @@ {678, 152} + - {{0, 0}, {1920, 1178}} + {{0, 0}, {2560, 1418}} {511, 174} {10000000000000, 10000000000000} YES @@ -264,6 +277,38 @@ YES + + + window + + + + 22 + + + + installNow: + + + + 33 + + + + installLater: + + + + 34 + + + + doNotInstall: + + + + 35 + value: applicationIcon @@ -328,45 +373,15 @@ 19 - - - window - - - - 22 - - - - installNow: - - - - 33 - - - - installLater: - - - - 34 - - - - doNotInstall: - - - - 35 - YES 0 - + + YES + @@ -526,17 +541,11 @@ -1.IBPluginDependency -2.IBPluginDependency -3.IBPluginDependency - -3.ImportedFromIB2 15.IBPluginDependency - 15.ImportedFromIB2 16.IBPluginDependency - 16.ImportedFromIB2 17.IBPluginDependency - 17.ImportedFromIB2 18.IBPluginDependency - 18.ImportedFromIB2 30.IBPluginDependency - 30.ImportedFromIB2 38.IBPluginDependency 39.IBPluginDependency 40.IBPluginDependency @@ -544,35 +553,24 @@ 42.IBPluginDependency 43.IBPluginDependency 44.IBPluginDependency - 5.IBEditorWindowLastContentRect 5.IBPluginDependency 5.IBWindowTemplateEditedContentRect - 5.ImportedFromIB2 6.IBPluginDependency - 6.ImportedFromIB2 7.IBPluginDependency - 7.ImportedFromIB2 8.IBPluginDependency - 8.ImportedFromIB2 9.IBPluginDependency - 9.ImportedFromIB2 YES com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -582,16 +580,9 @@ com.apple.InterfaceBuilder.CocoaPlugin {{312, 947}, {743, 152}} com.apple.InterfaceBuilder.CocoaPlugin - {{312, 947}, {743, 152}} - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - diff --git a/ja.lproj/SUUpdateAlert.strings b/ja.lproj/SUUpdateAlert.strings index d7576008..2b4826be 100644 Binary files a/ja.lproj/SUUpdateAlert.strings and b/ja.lproj/SUUpdateAlert.strings differ diff --git a/ja.lproj/SUUpdateAlert.xib b/ja.lproj/SUUpdateAlert.xib index a5428980..043c2bb4 100644 --- a/ja.lproj/SUUpdateAlert.xib +++ b/ja.lproj/SUUpdateAlert.xib @@ -2,10 +2,10 @@ 1050 - 10J567 - 823 - 1038.35 - 462.00 + 11D50 + 1938 + 1138.32 + 568.00 YES @@ -15,12 +15,24 @@ YES - 823 - 823 + 1938 + 822 - + YES + NSButton + NSTextFieldCell + NSButtonCell + NSImageView + NSBox + NSImageCell + WebView + NSCustomObject + NSView + NSWindowTemplate + NSTextField + NSUserDefaultsController YES @@ -52,10 +64,10 @@ View - {1.79769e+308, 1.79769e+308} + {575, 370} - + 256 YES @@ -76,6 +88,7 @@ {{24, 291}, {64, 64}} + YES 130560 @@ -96,6 +109,7 @@ 266 {{106, 338}, {452, 17}} + YES 67239424 @@ -130,17 +144,18 @@ 268 - {{106, 280}, {452, 14}} + {{106, 277}, {452, 17}} + YES 67239424 272629760 - リリースノート: + リリースノート: - LucidaGrande-Bold + AquaKana-Bold 11 - 3357 + 16 @@ -150,22 +165,27 @@ 289 - {{280, 12}, {146, 32}} + {{273, 12}, {92, 32}} + YES 67239424 134217728 - 後でまた知らせる - - LucidaGrande + 後で通知 + + AquaKana 13 - 1044 + 16 -2038284033 1 - + + LucidaGrande + 13 + 1044 + Gw 200 @@ -175,14 +195,15 @@ 288 - {{103, 12}, {165, 32}} + {{72, 12}, {196, 32}} + YES 67239424 134217728 - このバージョンをスキップ - + このバージョンはスキップ + -2038284033 1 @@ -198,8 +219,9 @@ 289 - {{426, 12}, {135, 32}} + {{365, 12}, {196, 32}} + YES -2080244224 @@ -223,7 +245,7 @@ YES - 256 + 274 YES @@ -252,6 +274,7 @@ {{-2, -1}, {445, 199}} + @@ -279,10 +302,12 @@ {{1, 1}, {443, 197}} + {{110, 76}, {445, 199}} + {0, 0} 67239424 @@ -318,12 +343,13 @@ 266 {{106, 302}, {452, 28}} + YES 67239424 4194304 - + LucidaGrande 11 3100 @@ -338,12 +364,17 @@ 290 {{106, 50}, {451, 18}} + YES 67239424 131072 - 今後のアップデートを自動的にダウンロード/インストール - + 今後はアップデートのダウンロードとインストールを自動で行う + + AquaKana + 11 + 16 + 1211912703 2 @@ -362,11 +393,14 @@ {575, 370} + + - {{0, 0}, {1920, 1178}} + {{0, 0}, {2560, 1418}} {575, 392} - {1.79769e+308, 1.79769e+308} + {10000000000000, 10000000000000} + YES YES @@ -375,6 +409,86 @@ YES + + + releaseNotesView + + + + 32 + + + + skipThisVersion: + + + + 33 + + + + remindMeLater: + + + + 34 + + + + window + + + + 69 + + + + installUpdate: + + + + 77 + + + + description + + + + 105 + + + + installButton + + + + 176 + + + + laterButton + + + + 177 + + + + skipButton + + + + 178 + + + + delegate + + + + 50 + value: applicationIcon @@ -407,46 +521,6 @@ 11 - - - releaseNotesView - - - - 32 - - - - skipThisVersion: - - - - 33 - - - - remindMeLater: - - - - 34 - - - - delegate - - - - 50 - - - - window - - - - 69 - hidden: showsReleaseNotes @@ -467,74 +541,6 @@ 72 - - - installUpdate: - - - - 77 - - - - value: descriptionText - - - - - - value: descriptionText - value - descriptionText - 2 - - - 103 - - - - description - - - - 105 - - - - value: values.SUAutomaticallyUpdate - - - - - - value: values.SUAutomaticallyUpdate - value - values.SUAutomaticallyUpdate - 2 - - - 135 - - - - hidden: allowsAutomaticUpdates - - - - - - hidden: allowsAutomaticUpdates - hidden - allowsAutomaticUpdates - - NSValueTransformerName - NSNegateBoolean - - 2 - - - 141 - hidden: showsReleaseNotes @@ -576,28 +582,56 @@ 164 - - installButton - - + + value: descriptionText + + + + + + value: descriptionText + value + descriptionText + 2 + - 176 + 103 - - laterButton - - + + value: values.SUAutomaticallyUpdate + + + + + + value: values.SUAutomaticallyUpdate + value + values.SUAutomaticallyUpdate + 2 + - 177 + 135 - - skipButton - - + + hidden: allowsAutomaticUpdates + + + + + + hidden: allowsAutomaticUpdates + hidden + allowsAutomaticUpdates + + NSValueTransformerName + NSNegateBoolean + + 2 + - 178 + 141 @@ -650,9 +684,9 @@ - + @@ -794,19 +828,15 @@ YES YES + -1.IBPluginDependency + -2.IBPluginDependency -3.IBPluginDependency - -3.ImportedFromIB2 10.IBPluginDependency - 10.ImportedFromIB2 101.IBPluginDependency - 101.IBViewBoundsToFrameTransform - 101.ImportedFromIB2 117.IBPluginDependency - 117.ImportedFromIB2 168.IBPluginDependency 169.IBPluginDependency 17.IBPluginDependency - 17.ImportedFromIB2 170.IBPluginDependency 171.IBPluginDependency 172.IBPluginDependency @@ -814,47 +844,27 @@ 174.IBPluginDependency 175.IBPluginDependency 18.IBPluginDependency - 18.ImportedFromIB2 22.IBPluginDependency - 22.ImportedFromIB2 23.IBPluginDependency - 23.ImportedFromIB2 - 5.IBEditorWindowLastContentRect 5.IBPluginDependency - 5.IBViewEditorWindowController.showingLayoutRectangles 5.IBWindowTemplateEditedContentRect - 5.ImportedFromIB2 - 5.windowTemplate.hasMinSize - 5.windowTemplate.maxSize - 5.windowTemplate.minSize 6.IBPluginDependency - 6.ImportedFromIB2 7.IBPluginDependency - 7.ImportedFromIB2 76.IBPluginDependency - 76.ImportedFromIB2 89.IBPluginDependency - 89.ImportedFromIB2 93.IBPluginDependency - 93.ImportedFromIB2 YES com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - P4AAAL+AAABC1AAAw6QAAA - - - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -862,45 +872,27 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.WebKitIBPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin {{643, 222}, {575, 370}} com.apple.InterfaceBuilder.CocoaPlugin - - {{643, 222}, {575, 370}} - - - {1.79769e+308, 1.79769e+308} - {575, 370} com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - YES - - YES - + YES - - YES - + 178 @@ -908,209 +900,6 @@ YES - - FirstResponder - NSObject - - IBUserSource - - - - - NSApplication - NSResponder - - IBUserSource - - - - - NSObject - - IBProjectSource - SUAppcast.h - - - - NSObject - - IBProjectSource - SUAutomaticUpdateAlert.h - - - - NSObject - - IBProjectSource - SUInstaller.h - - - - NSObject - - IBProjectSource - SUUnarchiver.h - - - - NSObject - - IBProjectSource - SUUpdateAlert.h - - - - NSObject - - IBProjectSource - SUUpdatePermissionPrompt.h - - - - NSObject - - IBProjectSource - SUUpdater.h - - - - NSObject - - IBUserSource - - - - - SUUpdateAlert - SUWindowController - - YES - - YES - installUpdate: - remindMeLater: - skipThisVersion: - - - YES - id - id - id - - - - YES - - YES - installUpdate: - remindMeLater: - skipThisVersion: - - - YES - - installUpdate: - id - - - remindMeLater: - id - - - skipThisVersion: - id - - - - - YES - - YES - delegate - description - installButton - releaseNotesView - versionDisplayer - - - YES - id - NSTextField - NSButton - WebView - id - - - - YES - - YES - delegate - description - installButton - releaseNotesView - versionDisplayer - - - YES - - delegate - id - - - description - NSTextField - - - installButton - NSButton - - - releaseNotesView - WebView - - - versionDisplayer - id - - - - - - - SUUpdateAlert - SUWindowController - - IBUserSource - - - - - SUWindowController - NSWindowController - - IBProjectSource - SUWindowController.h - - - - SUWindowController - NSWindowController - - IBUserSource - - - - - - YES - - NSObject - - IBDocumentRelativeSource - ../SUUpdateAlert.h - - SUUpdateAlert SUWindowController @@ -1220,663 +1009,35 @@ - - - - - YES - - NSActionCell - NSCell - - IBFrameworkSource - AppKit.framework/Headers/NSActionCell.h - - - - NSApplication - NSResponder - - IBFrameworkSource - AppKit.framework/Headers/NSApplication.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSApplicationScripting.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSColorPanel.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSHelpManager.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSPageLayout.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSUserInterfaceItemSearching.h - - - - NSBox - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSBox.h - - - - NSButton - NSControl - - IBFrameworkSource - AppKit.framework/Headers/NSButton.h - - - - NSButtonCell - NSActionCell - - IBFrameworkSource - AppKit.framework/Headers/NSButtonCell.h - - - - NSCell - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSCell.h - - - - NSControl - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSControl.h - - - - NSController - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSController.h - - - - NSFormatter - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSFormatter.h - - - - NSImageCell - NSCell - - IBFrameworkSource - AppKit.framework/Headers/NSImageCell.h - - - - NSImageView - NSControl - - IBFrameworkSource - AppKit.framework/Headers/NSImageView.h - - - - NSMenu - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSMenu.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSAccessibility.h - - - - NSObject - - - - NSObject - - - - NSObject - - - - NSObject - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSDictionaryController.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSDragging.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSFontManager.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSFontPanel.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSKeyValueBinding.h - - - - NSObject - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSNibLoading.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSOutlineView.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSPasteboard.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSSavePanel.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSTableView.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSToolbarItem.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSView.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSArchiver.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSClassDescription.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSError.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSFileManager.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyValueCoding.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyValueObserving.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyedArchiver.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSObject.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSObjectScripting.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSPortCoder.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSRunLoop.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSScriptClassDescription.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSScriptKeyValueCoding.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSScriptObjectSpecifiers.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSScriptWhoseTests.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSThread.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSURL.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSURLConnection.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSURLDownload.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebDownload.h - - - - NSObject - IBFrameworkSource - WebKit.framework/Headers/WebEditingDelegate.h + IBProjectSource + ./Classes/SUUpdateAlert.h - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebFrameLoadDelegate.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebJavaPlugIn.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebPlugin.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebPluginContainer.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebPolicyDelegate.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebResourceLoadDelegate.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebScriptObject.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebUIDelegate.h - - - - NSResponder - - IBFrameworkSource - AppKit.framework/Headers/NSInterfaceStyle.h - - - - NSResponder - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSResponder.h - - - - NSTextField - NSControl - - IBFrameworkSource - AppKit.framework/Headers/NSTextField.h - - - - NSTextFieldCell - NSActionCell - - IBFrameworkSource - AppKit.framework/Headers/NSTextFieldCell.h - - - - NSUserDefaultsController - NSController - - IBFrameworkSource - AppKit.framework/Headers/NSUserDefaultsController.h - - - - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSClipView.h - - - - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSMenuItem.h - - - - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSRulerView.h - - - - NSView - NSResponder - - - - NSWindow - - IBFrameworkSource - AppKit.framework/Headers/NSDrawer.h - - - - NSWindow - NSResponder - - IBFrameworkSource - AppKit.framework/Headers/NSWindow.h - - - - NSWindow - - IBFrameworkSource - AppKit.framework/Headers/NSWindowScripting.h - - - - NSWindowController - NSResponder - - showWindow: - id - - - showWindow: - - showWindow: - id - - + SUWindowController + NSWindowController - IBFrameworkSource - AppKit.framework/Headers/NSWindowController.h + IBProjectSource + ./Classes/SUWindowController.h WebView - NSView - YES - - YES - goBack: - goForward: - makeTextLarger: - makeTextSmaller: - makeTextStandardSize: - reload: - reloadFromOrigin: - stopLoading: - takeStringURLFrom: - toggleContinuousSpellChecking: - toggleSmartInsertDelete: - - - YES - id - id - id - id - id - id - id - id - id - id - id - + reloadFromOrigin: + id - YES - - YES - goBack: - goForward: - makeTextLarger: - makeTextSmaller: - makeTextStandardSize: - reload: - reloadFromOrigin: - stopLoading: - takeStringURLFrom: - toggleContinuousSpellChecking: - toggleSmartInsertDelete: - - - YES - - goBack: - id - - - goForward: - id - - - makeTextLarger: - id - - - makeTextSmaller: - id - - - makeTextStandardSize: - id - - - reload: - id - - - reloadFromOrigin: - id - - - stopLoading: - id - - - takeStringURLFrom: - id - - - toggleContinuousSpellChecking: - id - - - toggleSmartInsertDelete: - id - + reloadFromOrigin: + + reloadFromOrigin: + id - IBFrameworkSource - WebKit.framework/Headers/WebView.h + IBProjectSource + ./Classes/WebView.h @@ -1887,16 +1048,11 @@ com.apple.InterfaceBuilder.CocoaPlugin.macosx - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 YES - ../Sparkle.xcodeproj 3 YES diff --git a/ja.lproj/SUUpdatePermissionPrompt.strings b/ja.lproj/SUUpdatePermissionPrompt.strings index c6d2a341..32be6c6d 100644 Binary files a/ja.lproj/SUUpdatePermissionPrompt.strings and b/ja.lproj/SUUpdatePermissionPrompt.strings differ diff --git a/ja.lproj/SUUpdatePermissionPrompt.xib b/ja.lproj/SUUpdatePermissionPrompt.xib index 91c4a46b..9eebb2e9 100644 --- a/ja.lproj/SUUpdatePermissionPrompt.xib +++ b/ja.lproj/SUUpdatePermissionPrompt.xib @@ -2,13 +2,13 @@ 1050 - 11A453 - 1553 - 1120 - 556.00 + 11D50 + 1938 + 1138.32 + 568.00 com.apple.InterfaceBuilder.CocoaPlugin - 1553 + 1938 YES @@ -34,11 +34,8 @@ com.apple.InterfaceBuilder.CocoaPlugin - YES - - YES - - + PluginDependencyRecalculationVersion + YES @@ -73,24 +70,29 @@ 257 - {{280, 12}, {144, 32}} + {{300, 12}, {105, 32}} + 1 YES -2080244224 134217728 - 自動的にチェック - - LucidaGrande + 自動で確認 + + AquaKana 13 - 1044 + 16 1 -2038284033 1 - + + LucidaGrande + 13 + 1044 + DQ 200 @@ -100,14 +102,15 @@ 257 - {{149, 12}, {131, 32}} + {{162, 12}, {105, 32}} + YES 67239424 134217728 - チェックしない - + 確認しない + -2038284033 1 @@ -123,15 +126,16 @@ 264 {{104, 114}, {289, 34}} + YES 67239424 272629760 - 自動的にアップデートをチェックしますか。 + アップデートを自動で確認させますか? - LucidaGrande-Bold + AquaKana-Bold 13 - 2072 + 16 @@ -159,6 +163,7 @@ 266 {{104, 81}, {315, 42}} + YES 67239424 @@ -179,12 +184,17 @@ 264 {{104, 53}, {278, 18}} + YES -2080244224 163840 - 匿名のシステムプロファイルを含む - + 匿名のシステム情報を含める + + AquaKana + 11 + 16 + 1211912703 2 @@ -218,6 +228,7 @@ {{23, 84}, {64, 64}} + YES 130560 @@ -238,6 +249,7 @@ 268 {{80, 50}, {27, 26}} + YES 67239424 @@ -256,8 +268,9 @@ {438, 168} + - {{0, 0}, {1440, 878}} + {{0, 0}, {2560, 1418}} {213, 129} {10000000000000, 10000000000000} YES @@ -475,22 +488,6 @@ gY/jgaDjgZXjgYTvvJo YES - - - contentArray: systemProfileInformationArray - - - - - - contentArray: systemProfileInformationArray - contentArray - systemProfileInformationArray - 2 - - - 25 - window @@ -507,22 +504,6 @@ gY/jgaDjgZXjgYTvvJo 127 - - - value: icon - - - - - - value: icon - value - icon - 2 - - - 130 - toggleMoreInfo: @@ -547,25 +528,53 @@ gY/jgaDjgZXjgYTvvJo 133 + + + finishPrompt: + + + + 144 + + + + finishPrompt: + + + + 145 + - hidden: shouldAskAboutProfile - + contentArray: systemProfileInformationArray + - + - hidden: shouldAskAboutProfile - hidden - shouldAskAboutProfile - - NSValueTransformerName - NSNegateBoolean - + contentArray: systemProfileInformationArray + contentArray + systemProfileInformationArray 2 - 139 + 25 + + + + value: promptDescription + + + + + + value: promptDescription + value + promptDescription + 2 + + + 161 @@ -587,22 +596,6 @@ gY/jgaDjgZXjgYTvvJo 143 - - - finishPrompt: - - - - 144 - - - - finishPrompt: - - - - 145 - value: shouldSendProfile @@ -634,19 +627,35 @@ gY/jgaDjgZXjgYTvvJo - value: promptDescription - + value: icon + - + - value: promptDescription + value: icon value - promptDescription + icon 2 - 161 + 130 + + + + value: arrangedObjects.displayKey + + + + + + value: arrangedObjects.displayKey + value + arrangedObjects.displayKey + 2 + + + 174 @@ -666,19 +675,23 @@ gY/jgaDjgZXjgYTvvJo - value: arrangedObjects.displayKey - - + hidden: shouldAskAboutProfile + + - - - value: arrangedObjects.displayKey - value - arrangedObjects.displayKey + + + hidden: shouldAskAboutProfile + hidden + shouldAskAboutProfile + + NSValueTransformerName + NSNegateBoolean + 2 - 174 + 139 @@ -686,7 +699,9 @@ gY/jgaDjgZXjgYTvvJo YES 0 - + + YES + @@ -936,11 +951,8 @@ gY/jgaDjgZXjgYTvvJo -1.IBPluginDependency -2.IBPluginDependency -3.IBPluginDependency - -3.ImportedFromIB2 13.IBPluginDependency - 13.ImportedFromIB2 14.IBPluginDependency - 14.ImportedFromIB2 176.IBPluginDependency 177.IBPluginDependency 178.IBPluginDependency @@ -954,53 +966,31 @@ gY/jgaDjgZXjgYTvvJo 185.IBPluginDependency 185.IBShouldRemoveOnLegacySave 24.IBPluginDependency - 24.ImportedFromIB2 32.IBPluginDependency - 32.ImportedFromIB2 33.IBPluginDependency - 33.ImportedFromIB2 34.IBPluginDependency - 34.ImportedFromIB2 37.IBPluginDependency - 37.ImportedFromIB2 - 39.IBEditorWindowLastContentRect 39.IBPluginDependency - 39.ImportedFromIB2 40.IBPluginDependency - 40.ImportedFromIB2 41.IBPluginDependency - 41.ImportedFromIB2 42.IBPluginDependency - 42.ImportedFromIB2 43.IBPluginDependency - 43.ImportedFromIB2 44.IBPluginDependency - 44.ImportedFromIB2 45.IBPluginDependency - 45.ImportedFromIB2 46.IBPluginDependency - 46.ImportedFromIB2 49.IBPluginDependency - 49.ImportedFromIB2 - 5.IBEditorWindowLastContentRect 5.IBPluginDependency 5.IBWindowTemplateEditedContentRect - 5.ImportedFromIB2 6.IBPluginDependency - 6.ImportedFromIB2 71.IBPluginDependency - 71.ImportedFromIB2 YES com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -1014,42 +1004,23 @@ gY/jgaDjgZXjgYTvvJo com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - {{312, 917}, {362, 205}} com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin {{312, 977}, {438, 168}} com.apple.InterfaceBuilder.CocoaPlugin - {{312, 977}, {438, 168}} - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - diff --git a/ja.lproj/Sparkle.strings b/ja.lproj/Sparkle.strings index 867de0b5..b21ea044 100644 Binary files a/ja.lproj/Sparkle.strings and b/ja.lproj/Sparkle.strings differ diff --git a/no.lproj/Sparkle.strings b/no.lproj/Sparkle.strings index 49b398bd..f069d45e 100644 Binary files a/no.lproj/Sparkle.strings and b/no.lproj/Sparkle.strings differ diff --git a/ro.lproj/SUUpdateAlert.xib b/ro.lproj/SUUpdateAlert.xib index d27c5156..e40b0f1a 100644 --- a/ro.lproj/SUUpdateAlert.xib +++ b/ro.lproj/SUUpdateAlert.xib @@ -60,7 +60,7 @@ 15 2 - {{248, 468}, {612, 371}} + {{248, 400}, {612, 371}} -260571136 Software Update NSWindow diff --git a/ru.lproj/SUAutomaticUpdateAlert.strings b/ru.lproj/SUAutomaticUpdateAlert.strings index 22e9eeec..19acb2f7 100644 Binary files a/ru.lproj/SUAutomaticUpdateAlert.strings and b/ru.lproj/SUAutomaticUpdateAlert.strings differ diff --git a/ru.lproj/SUAutomaticUpdateAlert.xib b/ru.lproj/SUAutomaticUpdateAlert.xib index 0a5c3fe1..56ad5f99 100644 --- a/ru.lproj/SUAutomaticUpdateAlert.xib +++ b/ru.lproj/SUAutomaticUpdateAlert.xib @@ -2,13 +2,13 @@ 1050 - 11A453 - 1553 - 1120 - 556.00 + 11D46 + 2177 + 1138.32 + 568.00 com.apple.InterfaceBuilder.CocoaPlugin - 1553 + 2177 YES @@ -28,11 +28,8 @@ com.apple.InterfaceBuilder.CocoaPlugin - YES - - YES - - + PluginDependencyRecalculationVersion + YES @@ -81,6 +78,7 @@ {{23, 73}, {64, 64}} + YES 130560 @@ -101,6 +99,7 @@ 270 {{105, 120}, {621, 17}} + YES 67239424 @@ -137,6 +136,7 @@ 270 {{105, 81}, {621, 31}} + YES 67239424 @@ -157,6 +157,7 @@ 257 {{502, 12}, {226, 32}} + YES 67239424 @@ -180,13 +181,14 @@ 257 - {{267, 12}, {235, 32}} + {{290, 12}, {207, 32}} + YES 67239424 134217728 - Установить при прекращении + Установить при закрытии -2038284033 @@ -203,6 +205,7 @@ 256 {{102, 12}, {157, 32}} + YES 67239424 @@ -226,11 +229,12 @@ 256 {{105, 58}, {619, 18}} + YES 67239424 131072 - Выполнять загрузку и установку обновлений в будущем + Автоматически загружать и устанавливать обновления в будущем 1211912703 @@ -251,8 +255,9 @@ {743, 152} + - {{0, 0}, {1920, 1178}} + {{0, 0}, {1440, 878}} {511, 174} {10000000000000, 10000000000000} YES @@ -264,6 +269,38 @@ YES + + + window + + + + 22 + + + + installNow: + + + + 33 + + + + installLater: + + + + 34 + + + + doNotInstall: + + + + 35 + value: applicationIcon @@ -328,45 +365,15 @@ 19 - - - window - - - - 22 - - - - installNow: - - - - 33 - - - - installLater: - - - - 34 - - - - doNotInstall: - - - - 35 - YES 0 - + + YES + @@ -526,17 +533,11 @@ -1.IBPluginDependency -2.IBPluginDependency -3.IBPluginDependency - -3.ImportedFromIB2 15.IBPluginDependency - 15.ImportedFromIB2 16.IBPluginDependency - 16.ImportedFromIB2 17.IBPluginDependency - 17.ImportedFromIB2 18.IBPluginDependency - 18.ImportedFromIB2 30.IBPluginDependency - 30.ImportedFromIB2 38.IBPluginDependency 39.IBPluginDependency 40.IBPluginDependency @@ -544,35 +545,24 @@ 42.IBPluginDependency 43.IBPluginDependency 44.IBPluginDependency - 5.IBEditorWindowLastContentRect 5.IBPluginDependency 5.IBWindowTemplateEditedContentRect - 5.ImportedFromIB2 6.IBPluginDependency - 6.ImportedFromIB2 7.IBPluginDependency - 7.ImportedFromIB2 8.IBPluginDependency - 8.ImportedFromIB2 9.IBPluginDependency - 9.ImportedFromIB2 - + YES com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -582,16 +572,9 @@ com.apple.InterfaceBuilder.CocoaPlugin {{312, 947}, {743, 152}} com.apple.InterfaceBuilder.CocoaPlugin - {{312, 947}, {743, 152}} - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - @@ -608,7 +591,66 @@ 44 - + + + YES + + SUAutomaticUpdateAlert + SUWindowController + + YES + + YES + doNotInstall: + installLater: + installNow: + + + YES + id + id + id + + + + YES + + YES + doNotInstall: + installLater: + installNow: + + + YES + + doNotInstall: + id + + + installLater: + id + + + installNow: + id + + + + + IBProjectSource + ./Classes/SUAutomaticUpdateAlert.h + + + + SUWindowController + NSWindowController + + IBProjectSource + ./Classes/SUWindowController.h + + + + 0 IBCocoaFramework @@ -628,7 +670,7 @@ NSApplicationIcon NSSwitch - + YES {128, 128} {15, 15} diff --git a/ru.lproj/SUUpdateAlert.strings b/ru.lproj/SUUpdateAlert.strings index 7f75e464..9fce4212 100644 Binary files a/ru.lproj/SUUpdateAlert.strings and b/ru.lproj/SUUpdateAlert.strings differ diff --git a/ru.lproj/SUUpdateAlert.xib b/ru.lproj/SUUpdateAlert.xib index e43a0f58..9dc1062d 100644 --- a/ru.lproj/SUUpdateAlert.xib +++ b/ru.lproj/SUUpdateAlert.xib @@ -2,10 +2,10 @@ 1050 - 10J567 - 823 - 1038.35 - 462.00 + 11D46 + 2177 + 1138.32 + 568.00 YES @@ -13,14 +13,26 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.WebKitIBPlugin - + YES - 823 - 823 + 2177 + 1117 - + YES + NSButton + NSTextFieldCell + NSButtonCell + NSImageView + NSBox + NSImageCell + WebView + NSCustomObject + NSView + NSWindowTemplate + NSTextField + NSUserDefaultsController YES @@ -45,17 +57,17 @@ 15 2 - {{248, 468}, {575, 370}} + {{248, 468}, {643, 375}} -260571136 Обновление программного обеспечения NSWindow View - {1.79769e+308, 1.79769e+308} + {575, 370} - + 256 YES @@ -74,8 +86,9 @@ NeXT TIFF v4.0 pasteboard type - {{24, 291}, {64, 64}} + {{24, 296}, {64, 64}} + YES 130560 @@ -94,8 +107,9 @@ 266 - {{106, 338}, {452, 17}} + {{106, 343}, {520, 17}} + YES 67239424 @@ -130,8 +144,9 @@ 268 - {{106, 280}, {452, 14}} + {{106, 285}, {452, 14}} + YES 67239424 @@ -150,13 +165,14 @@ 289 - {{280, 12}, {146, 32}} + {{269, 12}, {162, 32}} + YES 67239424 134217728 - Напоминать мне позже + Напоминать позже LucidaGrande 13 @@ -175,8 +191,9 @@ 288 - {{103, 12}, {165, 32}} + {{72, 12}, {185, 32}} + YES 67239424 @@ -198,8 +215,9 @@ 289 - {{426, 12}, {135, 32}} + {{435, 12}, {194, 32}} + YES -2080244224 @@ -223,7 +241,7 @@ YES - 256 + 274 YES @@ -250,8 +268,9 @@ public.url-name - {{-2, -1}, {445, 199}} + {{-2, -1}, {513, 204}} + @@ -265,7 +284,7 @@ WebKitDefaultFontSize WebKitMinimumFontSize - + YES @@ -277,12 +296,14 @@ YES - {{1, 1}, {443, 197}} + {{1, 1}, {511, 202}} + - {{110, 76}, {445, 199}} + {{110, 76}, {513, 204}} + {0, 0} 67239424 @@ -316,8 +337,9 @@ 266 - {{106, 302}, {452, 28}} + {{106, 307}, {520, 28}} + YES 67239424 @@ -336,13 +358,14 @@ 290 - {{106, 50}, {451, 18}} + {{106, 50}, {519, 18}} + YES 67239424 131072 - Выполнять загрузку и установку обновлений в будущем + Автоматически загружать и устанавливать обновления в будущем 1211912703 @@ -361,12 +384,15 @@ - {575, 370} + {643, 375} + + - {{0, 0}, {1920, 1178}} + {{0, 0}, {1440, 878}} {575, 392} - {1.79769e+308, 1.79769e+308} + {10000000000000, 10000000000000} + YES YES @@ -375,6 +401,86 @@ YES + + + releaseNotesView + + + + 32 + + + + skipThisVersion: + + + + 33 + + + + remindMeLater: + + + + 34 + + + + window + + + + 69 + + + + installUpdate: + + + + 77 + + + + description + + + + 105 + + + + installButton + + + + 176 + + + + laterButton + + + + 177 + + + + skipButton + + + + 178 + + + + delegate + + + + 50 + value: applicationIcon @@ -407,46 +513,6 @@ 11 - - - releaseNotesView - - - - 32 - - - - skipThisVersion: - - - - 33 - - - - remindMeLater: - - - - 34 - - - - delegate - - - - 50 - - - - window - - - - 69 - hidden: showsReleaseNotes @@ -467,74 +533,6 @@ 72 - - - installUpdate: - - - - 77 - - - - value: descriptionText - - - - - - value: descriptionText - value - descriptionText - 2 - - - 103 - - - - description - - - - 105 - - - - value: values.SUAutomaticallyUpdate - - - - - - value: values.SUAutomaticallyUpdate - value - values.SUAutomaticallyUpdate - 2 - - - 135 - - - - hidden: allowsAutomaticUpdates - - - - - - hidden: allowsAutomaticUpdates - hidden - allowsAutomaticUpdates - - NSValueTransformerName - NSNegateBoolean - - 2 - - - 141 - hidden: showsReleaseNotes @@ -576,28 +574,56 @@ 164 - - installButton - - + + value: descriptionText + + + + + + value: descriptionText + value + descriptionText + 2 + - 176 + 103 - - laterButton - - + + value: values.SUAutomaticallyUpdate + + + + + + value: values.SUAutomaticallyUpdate + value + values.SUAutomaticallyUpdate + 2 + - 177 + 135 - - skipButton - - + + hidden: allowsAutomaticUpdates + + + + + + hidden: allowsAutomaticUpdates + hidden + allowsAutomaticUpdates + + NSValueTransformerName + NSNegateBoolean + + 2 + - 178 + 141 @@ -794,19 +820,15 @@ YES YES + -1.IBPluginDependency + -2.IBPluginDependency -3.IBPluginDependency - -3.ImportedFromIB2 10.IBPluginDependency - 10.ImportedFromIB2 101.IBPluginDependency - 101.IBViewBoundsToFrameTransform - 101.ImportedFromIB2 117.IBPluginDependency - 117.ImportedFromIB2 168.IBPluginDependency 169.IBPluginDependency 17.IBPluginDependency - 17.ImportedFromIB2 170.IBPluginDependency 171.IBPluginDependency 172.IBPluginDependency @@ -814,47 +836,27 @@ 174.IBPluginDependency 175.IBPluginDependency 18.IBPluginDependency - 18.ImportedFromIB2 22.IBPluginDependency - 22.ImportedFromIB2 23.IBPluginDependency - 23.ImportedFromIB2 - 5.IBEditorWindowLastContentRect 5.IBPluginDependency - 5.IBViewEditorWindowController.showingLayoutRectangles 5.IBWindowTemplateEditedContentRect - 5.ImportedFromIB2 - 5.windowTemplate.hasMinSize - 5.windowTemplate.maxSize - 5.windowTemplate.minSize 6.IBPluginDependency - 6.ImportedFromIB2 7.IBPluginDependency - 7.ImportedFromIB2 76.IBPluginDependency - 76.ImportedFromIB2 89.IBPluginDependency - 89.ImportedFromIB2 93.IBPluginDependency - 93.ImportedFromIB2 - + YES com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - P4AAAL+AAABC1AAAw6QAAA - - - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -862,45 +864,27 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.WebKitIBPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - + com.apple.InterfaceBuilder.CocoaPlugin {{643, 222}, {575, 370}} com.apple.InterfaceBuilder.CocoaPlugin - - {{643, 222}, {575, 370}} - - - {1.79769e+308, 1.79769e+308} - {575, 370} com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - YES - - YES - + YES - - YES - + 178 @@ -908,78 +892,6 @@ YES - - FirstResponder - NSObject - - IBUserSource - - - - - NSApplication - NSResponder - - IBUserSource - - - - - NSObject - - IBProjectSource - SUAppcast.h - - - - NSObject - - IBProjectSource - SUAutomaticUpdateAlert.h - - - - NSObject - - IBProjectSource - SUInstaller.h - - - - NSObject - - IBProjectSource - SUUnarchiver.h - - - - NSObject - - IBProjectSource - SUUpdateAlert.h - - - - NSObject - - IBProjectSource - SUUpdatePermissionPrompt.h - - - - NSObject - - IBProjectSource - SUUpdater.h - - - - NSObject - - IBUserSource - - - SUUpdateAlert SUWindowController @@ -991,7 +903,7 @@ remindMeLater: skipThisVersion: - + YES id id @@ -1006,7 +918,7 @@ remindMeLater: skipThisVersion: - + YES installUpdate: @@ -1026,174 +938,33 @@ YES YES - delegate description installButton + laterButton releaseNotesView - versionDisplayer + skipButton - + YES - id NSTextField NSButton + NSButton WebView - id + NSButton YES YES - delegate - description - installButton - releaseNotesView - versionDisplayer - - - YES - - delegate - id - - - description - NSTextField - - - installButton - NSButton - - - releaseNotesView - WebView - - - versionDisplayer - id - - - - - - - SUUpdateAlert - SUWindowController - - IBUserSource - - - - - SUWindowController - NSWindowController - - IBProjectSource - SUWindowController.h - - - - SUWindowController - NSWindowController - - IBUserSource - - - - - - YES - - NSObject - - IBDocumentRelativeSource - ../SUUpdateAlert.h - - - - SUUpdateAlert - SUWindowController - - YES - - YES - installUpdate: - remindMeLater: - skipThisVersion: - - - YES - id - id - id - - - - YES - - YES - installUpdate: - remindMeLater: - skipThisVersion: - - - YES - - installUpdate: - id - - - remindMeLater: - id - - - skipThisVersion: - id - - - - - YES - - YES - delegate description installButton laterButton releaseNotesView skipButton - versionDisplayer - + YES - id - NSTextField - NSButton - NSButton - WebView - NSButton - id - - - - YES - - YES - delegate - description - installButton - laterButton - releaseNotesView - skipButton - versionDisplayer - - - YES - - delegate - id - description NSTextField @@ -1214,669 +985,19 @@ skipButton NSButton - - versionDisplayer - id - - - - - - - - YES - - NSActionCell - NSCell - - IBFrameworkSource - AppKit.framework/Headers/NSActionCell.h - - - - NSApplication - NSResponder - - IBFrameworkSource - AppKit.framework/Headers/NSApplication.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSApplicationScripting.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSColorPanel.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSHelpManager.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSPageLayout.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSUserInterfaceItemSearching.h - - - - NSBox - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSBox.h - - - - NSButton - NSControl - - IBFrameworkSource - AppKit.framework/Headers/NSButton.h - - - - NSButtonCell - NSActionCell - - IBFrameworkSource - AppKit.framework/Headers/NSButtonCell.h - - - - NSCell - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSCell.h - - - - NSControl - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSControl.h - - - - NSController - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSController.h - - - - NSFormatter - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSFormatter.h - - - - NSImageCell - NSCell - - IBFrameworkSource - AppKit.framework/Headers/NSImageCell.h - - - - NSImageView - NSControl - - IBFrameworkSource - AppKit.framework/Headers/NSImageView.h - - - - NSMenu - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSMenu.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSAccessibility.h - - - - NSObject - - - - NSObject - - - - NSObject - - - - NSObject - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSDictionaryController.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSDragging.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSFontManager.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSFontPanel.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSKeyValueBinding.h - - - - NSObject - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSNibLoading.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSOutlineView.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSPasteboard.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSSavePanel.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSTableView.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSToolbarItem.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSView.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSArchiver.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSClassDescription.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSError.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSFileManager.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyValueCoding.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyValueObserving.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyedArchiver.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSObject.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSObjectScripting.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSPortCoder.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSRunLoop.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSScriptClassDescription.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSScriptKeyValueCoding.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSScriptObjectSpecifiers.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSScriptWhoseTests.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSThread.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSURL.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSURLConnection.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSURLDownload.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebDownload.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebEditingDelegate.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebFrameLoadDelegate.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebJavaPlugIn.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebPlugin.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebPluginContainer.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebPolicyDelegate.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebResourceLoadDelegate.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebScriptObject.h - - - - NSObject - - IBFrameworkSource - WebKit.framework/Headers/WebUIDelegate.h - - - - NSResponder - - IBFrameworkSource - AppKit.framework/Headers/NSInterfaceStyle.h - - - - NSResponder - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSResponder.h - - - - NSTextField - NSControl - - IBFrameworkSource - AppKit.framework/Headers/NSTextField.h - - - - NSTextFieldCell - NSActionCell - - IBFrameworkSource - AppKit.framework/Headers/NSTextFieldCell.h - - - - NSUserDefaultsController - NSController - - IBFrameworkSource - AppKit.framework/Headers/NSUserDefaultsController.h - - - - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSClipView.h - - - - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSMenuItem.h - - - - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSRulerView.h - - - - NSView - NSResponder - - - - NSWindow - - IBFrameworkSource - AppKit.framework/Headers/NSDrawer.h - - - - NSWindow - NSResponder - - IBFrameworkSource - AppKit.framework/Headers/NSWindow.h - - - - NSWindow - - IBFrameworkSource - AppKit.framework/Headers/NSWindowScripting.h - - - - NSWindowController - NSResponder - - showWindow: - id - - - showWindow: - - showWindow: - id - IBFrameworkSource - AppKit.framework/Headers/NSWindowController.h + IBProjectSource + ./Classes/SUUpdateAlert.h - WebView - NSView - - YES - - YES - goBack: - goForward: - makeTextLarger: - makeTextSmaller: - makeTextStandardSize: - reload: - reloadFromOrigin: - stopLoading: - takeStringURLFrom: - toggleContinuousSpellChecking: - toggleSmartInsertDelete: - - - YES - id - id - id - id - id - id - id - id - id - id - id - - - - YES - - YES - goBack: - goForward: - makeTextLarger: - makeTextSmaller: - makeTextStandardSize: - reload: - reloadFromOrigin: - stopLoading: - takeStringURLFrom: - toggleContinuousSpellChecking: - toggleSmartInsertDelete: - - - YES - - goBack: - id - - - goForward: - id - - - makeTextLarger: - id - - - makeTextSmaller: - id - - - makeTextStandardSize: - id - - - reload: - id - - - reloadFromOrigin: - id - - - stopLoading: - id - - - takeStringURLFrom: - id - - - toggleContinuousSpellChecking: - id - - - toggleSmartInsertDelete: - id - - - + SUWindowController + NSWindowController - IBFrameworkSource - WebKit.framework/Headers/WebView.h + IBProjectSource + ./Classes/SUWindowController.h @@ -1889,14 +1010,13 @@ com.apple.InterfaceBuilder.CocoaPlugin.macosx - + com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 YES - ../Sparkle.xcodeproj 3 YES @@ -1905,7 +1025,7 @@ NSApplicationIcon NSSwitch - + YES {128, 128} {15, 15} diff --git a/ru.lproj/SUUpdatePermissionPrompt.strings b/ru.lproj/SUUpdatePermissionPrompt.strings index b6003b21..acf4be10 100755 Binary files a/ru.lproj/SUUpdatePermissionPrompt.strings and b/ru.lproj/SUUpdatePermissionPrompt.strings differ diff --git a/ru.lproj/Sparkle.strings b/ru.lproj/Sparkle.strings index 7dba6a35..7afef95f 100644 Binary files a/ru.lproj/Sparkle.strings and b/ru.lproj/Sparkle.strings differ diff --git a/sandbox_service.m b/sandbox_service.m new file mode 100644 index 00000000..101c66a5 --- /dev/null +++ b/sandbox_service.m @@ -0,0 +1,91 @@ +// +// main.m +// Update +// +// Created by Whitney Young on 3/19/12. +// Copyright (c) 2012 FadingRed. All rights reserved. +// + +#include +#include +#import "SUPlainInstallerInternals.h" + +static void peer_event_handler(xpc_connection_t peer, xpc_object_t event) +{ + xpc_type_t type = xpc_get_type(event); + if (type == XPC_TYPE_ERROR) { + if (event == XPC_ERROR_CONNECTION_INVALID) { + // The client process on the other end of the connection has either + // crashed or cancelled the connection. After receiving this error, + // the connection is in an invalid state, and you do not need to + // call xpc_connection_cancel(). Just tear down any associated state + // here. + } else if (event == XPC_ERROR_TERMINATION_IMMINENT) { + // Handle per-connection termination cleanup. + } + } else { + assert(type == XPC_TYPE_DICTIONARY); + // Handle the message. + const char *identifier = xpc_dictionary_get_string(event, "id"); + BOOL copyPath = strcmp(identifier, "copy_path") == 0; + BOOL launchTask = strcmp(identifier, "launch_task") == 0; + + if( copyPath ) + { + const char *src = xpc_dictionary_get_string(event, "source"); + const char *dst = xpc_dictionary_get_string(event, "destination"); + const char *tmp = xpc_dictionary_get_string(event, "tmp"); + + NSFileManager *manager = [NSFileManager defaultManager]; + NSString *relaunchPathToCopy = src ? [manager stringWithFileSystemRepresentation:src length:strlen(src)] : nil; + NSString *targetPath = dst ? [manager stringWithFileSystemRepresentation:dst length:strlen(dst)] : nil; + NSString *temporaryName = tmp ? [NSString stringWithUTF8String:tmp] : nil; + NSError *error = nil; + [SUPlainInstaller copyPathWithAuthentication: relaunchPathToCopy overPath: targetPath temporaryName: temporaryName error: &error]; + + // send response to indicate ok + xpc_object_t reply = xpc_dictionary_create_reply(event); + xpc_connection_send_message(peer, reply); + } + else if( launchTask ) + { + const char *path = xpc_dictionary_get_string(event, "path"); + xpc_object_t array = xpc_dictionary_get_value(event, "arguments"); + + NSFileManager *manager = [NSFileManager defaultManager]; + NSString *relaunchToolPath = path ? [manager stringWithFileSystemRepresentation:path length:strlen(path)] : nil;; + NSMutableArray *arguments = [NSMutableArray array]; + + for (size_t i = 0; i < xpc_array_get_count(array); i++) { + [arguments addObject: + [NSString stringWithUTF8String:xpc_array_get_string(array, i)]]; + } + + [NSTask launchedTaskWithLaunchPath: relaunchToolPath arguments:arguments]; + + // send response to indicate ok + xpc_object_t reply = xpc_dictionary_create_reply(event); + xpc_connection_send_message(peer, reply); + } + } +} + +static void event_handler(xpc_connection_t peer) +{ + // By defaults, new connections will target the default dispatch + // concurrent queue. + xpc_connection_set_event_handler(peer, ^(xpc_object_t event) { + peer_event_handler(peer, event); + }); + + // This will tell the connection to begin listening for events. If you + // have some other initialization that must be done asynchronously, then + // you can defer this call until after that initialization is done. + xpc_connection_resume(peer); +} + +int main(int argc, const char *argv[]) +{ + xpc_main(event_handler); + return 0; +} diff --git a/sl.lproj/SUAutomaticUpdateAlert.xib b/sl.lproj/SUAutomaticUpdateAlert.xib new file mode 100644 index 00000000..3244ebdf --- /dev/null +++ b/sl.lproj/SUAutomaticUpdateAlert.xib @@ -0,0 +1,548 @@ + + + + 1050 + 11D39 + 1938 + 1138.30 + 568.00 + + com.apple.InterfaceBuilder.CocoaPlugin + 1938 + + + NSTextField + NSView + NSWindowTemplate + NSUserDefaultsController + NSTextFieldCell + NSImageCell + NSButtonCell + NSImageView + NSButton + NSCustomObject + + + com.apple.InterfaceBuilder.CocoaPlugin + + + PluginDependencyRecalculationVersion + + + + + SUAutomaticUpdateAlert + + + FirstResponder + + + NSApplication + + + 1 + 2 + {{114, 521}, {657, 152}} + 1886912512 + + + NSWindow + + + View + + + {511, 152} + + + 256 + + + + 268 + + Apple PDF pasteboard type + Apple PICT pasteboard type + Apple PNG pasteboard type + NSFilenamesPboardType + NeXT Encapsulated PostScript v1.2 pasteboard type + NeXT TIFF v4.0 pasteboard type + + {{23, 73}, {64, 64}} + + + YES + + 130560 + 33554432 + + NSImage + NSApplicationIcon + + 0 + 0 + 0 + NO + + YES + + + + 268 + {{105, 120}, {389, 17}} + + + YES + + 67239424 + 272629760 + + + LucidaGrande-Bold + 13 + 2072 + + + + 6 + System + controlColor + + 3 + MC42NjY2NjY2NjY3AA + + + + 6 + System + controlTextColor + + 3 + MAA + + + + + + + 270 + {{105, 81}, {435, 31}} + + + YES + + 67239424 + 272629760 + + + LucidaGrande + 11 + 3100 + + + + + + + + + 257 + {{415, 12}, {228, 32}} + + YES + + 67239424 + 134217728 + Namestitev in ponoven zagon + + LucidaGrande + 13 + 1044 + + + -2038284033 + 1 + + + DQ + 200 + 25 + + + + + 257 + {{244, 12}, {171, 32}} + + + YES + + 67239424 + 134217728 + Namestitev in izhod + + + -2038284033 + 1 + + + Gw + 200 + 25 + + + + + 256 + {{102, 12}, {116, 32}} + + + YES + + 67239424 + 134217728 + Ne namesti + + + -2038284033 + 1 + + + + + + 200 + 25 + + + + + 256 + {{105, 58}, {382, 18}} + + + YES + + 67239424 + 131072 + V prihodnje samodejno nameščaj posodobitve + + + 1211912703 + 2 + + NSImage + NSSwitch + + + NSSwitch + + + + 200 + 25 + + + + {657, 152} + + + {{0, 0}, {1280, 778}} + {511, 174} + {10000000000000, 10000000000000} + YES + + + YES + + + + + + + window + + + + 22 + + + + installNow: + + + + 33 + + + + installLater: + + + + 34 + + + + doNotInstall: + + + + 35 + + + + value: applicationIcon + + + + + + value: applicationIcon + value + applicationIcon + 2 + + + 10 + + + + value: titleText + + + + + + value: titleText + value + titleText + 2 + + + 11 + + + + value: descriptionText + + + + + + value: descriptionText + value + descriptionText + 2 + + + 14 + + + + value: values.SUAutomaticallyUpdate + + + + + + value: values.SUAutomaticallyUpdate + value + values.SUAutomaticallyUpdate + 2 + + + 19 + + + + + + 0 + + + + + + -2 + + + File's Owner + + + -1 + + + First Responder + + + -3 + + + Application + + + 5 + + + + + + Window + + + 6 + + + + + + + + + + + + + + 7 + + + + + + + + 8 + + + + + + + + 9 + + + + + + + + 15 + + + + + + + + 16 + + + + + + + + 17 + + + + + + + + 30 + + + + + + + + 18 + + + Shared Defaults + + + 38 + + + + + 39 + + + + + 40 + + + + + 41 + + + + + 42 + + + + + 43 + + + + + 44 + + + + + + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + + + + + 44 + + + 0 + IBCocoaFramework + + com.apple.InterfaceBuilder.CocoaPlugin.macosx + + + YES + 3 + + {128, 128} + {15, 15} + + + diff --git a/sl.lproj/SUUpdateAlert.xib b/sl.lproj/SUUpdateAlert.xib new file mode 100644 index 00000000..1fa30eea --- /dev/null +++ b/sl.lproj/SUUpdateAlert.xib @@ -0,0 +1,790 @@ + + + + 1050 + 11D39 + 1938 + 1138.30 + 568.00 + + 1938 + 822 + + + NSButton + NSTextFieldCell + NSButtonCell + NSImageView + NSBox + NSImageCell + WebView + NSCustomObject + NSView + NSWindowTemplate + NSTextField + NSUserDefaultsController + + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.WebKitIBPlugin + + + PluginDependencyRecalculationVersion + + + + + SUUpdateAlert + + + FirstResponder + + + NSApplication + + + 15 + 2 + {{248, 400}, {586, 370}} + -260571136 + Posodabljanje programske opreme + NSWindow + + View + + + {586, 370} + + + 256 + + + + 268 + + Apple PDF pasteboard type + Apple PICT pasteboard type + Apple PNG pasteboard type + NSFilenamesPboardType + NeXT Encapsulated PostScript v1.2 pasteboard type + NeXT TIFF v4.0 pasteboard type + + {{24, 291}, {64, 64}} + + + YES + + 130560 + 33554432 + + NSImage + NSApplicationIcon + + 0 + 0 + 0 + NO + + YES + + + + 264 + {{106, 338}, {443, 17}} + + + YES + + 67239424 + 272629760 + + + LucidaGrande-Bold + 13 + 2072 + + + + 6 + System + controlColor + + 3 + MC42NjY2NjY2NjY3AA + + + + 6 + System + controlTextColor + + 3 + MAA + + + + + + + 268 + {{106, 280}, {443, 14}} + + + YES + + 67239424 + 272629760 + Opombe ob izdaji: + + LucidaGrande-Bold + 11 + 3357 + + + + + + + + + 289 + {{256, 12}, {152, 32}} + + + YES + + 67239424 + 134217728 + Spomni me kasneje + + LucidaGrande + 13 + 1044 + + + -2038284033 + 1 + + + Gw + 200 + 25 + + + + + 288 + {{103, 12}, {149, 32}} + + + YES + + 67239424 + 134217728 + Preskoči to verzijo + + + -2038284033 + 1 + + + + + + 200 + 25 + + + + + 289 + {{408, 12}, {164, 32}} + + YES + + -2080244224 + 134217728 + Namesti posodobitev + + + -2038284033 + 1 + + + DQ + 200 + 25 + + + + + 274 + + + + 274 + + + + 274 + + Apple HTML pasteboard type + Apple PDF pasteboard type + Apple PICT pasteboard type + Apple URL pasteboard type + Apple Web Archive pasteboard type + NSColor pasteboard type + NSFilenamesPboardType + NSStringPboardType + NeXT RTFD pasteboard type + NeXT Rich Text Format v1.0 pasteboard type + NeXT TIFF v4.0 pasteboard type + WebURLsWithTitlesPboardType + public.png + public.url + public.url-name + + {{-1, 0}, {456, 197}} + + + + + + + + + + + + + NO + YES + + + {{1, 1}, {455, 197}} + + + + + {{109, 76}, {457, 199}} + + + {0, 0} + + 67239424 + 0 + + + LucidaGrande + 11 + 16 + + + 6 + System + textBackgroundColor + + 3 + MQA + + + + 3 + MCAwLjgwMDAwMDAxAA + + + + 1 + 3 + 0 + NO + + + + 266 + {{106, 302}, {463, 28}} + + + YES + + 67239424 + 4194304 + + + LucidaGrande + 11 + 3100 + + + + + + + + + 256 + {{106, 50}, {442, 16}} + + + YES + + 67239424 + 131072 + V prihodnje samodejno nameščaj posodobitve + + + 1211912703 + 2 + + NSImage + NSSwitch + + + NSSwitch + + + + 200 + 25 + + + + {586, 370} + + + {{0, 0}, {1280, 778}} + {586, 392} + {10000000000000, 10000000000000} + + YES + + + YES + + + + + + + releaseNotesView + + + + 32 + + + + skipThisVersion: + + + + 33 + + + + remindMeLater: + + + + 34 + + + + window + + + + 69 + + + + installUpdate: + + + + 77 + + + + description + + + + 105 + + + + delegate + + + + 50 + + + + value: applicationIcon + + + + + + value: applicationIcon + value + applicationIcon + 2 + + + 9 + + + + value: titleText + + + + + + value: titleText + value + titleText + 2 + + + 11 + + + + hidden: showsReleaseNotes + + + + + + hidden: showsReleaseNotes + hidden + showsReleaseNotes + + NSValueTransformerName + NSNegateBoolean + + 2 + + + 72 + + + + hidden: showsReleaseNotes + + + + + + hidden: showsReleaseNotes + hidden + showsReleaseNotes + + NSValueTransformerName + NSNegateBoolean + + 2 + + + 161 + + + + hidden: showsReleaseNotes + + + + + + hidden: showsReleaseNotes + hidden + showsReleaseNotes + + NSValueTransformerName + NSNegateBoolean + + 2 + + + 164 + + + + value: descriptionText + + + + + + value: descriptionText + value + descriptionText + 2 + + + 103 + + + + value: values.SUAutomaticallyUpdate + + + + + + value: values.SUAutomaticallyUpdate + value + values.SUAutomaticallyUpdate + 2 + + + 135 + + + + hidden: allowsAutomaticUpdates + + + + + + hidden: allowsAutomaticUpdates + hidden + allowsAutomaticUpdates + + NSValueTransformerName + NSNegateBoolean + + 2 + + + 141 + + + + + + 0 + + + + + + -2 + + + File's Owner + + + -1 + + + First Responder + + + -3 + + + Application + + + 5 + + + + + + Update Alert (release notes) + + + 6 + + + + + + + + + + + + + + + + 7 + + + + + + + + 10 + + + + + + + + 17 + + + + + + + + 22 + + + + + + + + 23 + + + + + + + + 76 + + + + + + + + 89 + + + + + + + + 101 + + + + + + + + 117 + + + + + + + + 93 + + + Shared Defaults + + + 168 + + + + + 169 + + + + + 170 + + + + + 171 + + + + + 172 + + + + + 173 + + + + + 174 + + + + + 175 + + + + + 18 + + + + + + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.WebKitIBPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + + + + + 175 + + + 0 + IBCocoaFramework + + com.apple.InterfaceBuilder.CocoaPlugin.macosx + + + YES + 3 + + {128, 128} + {15, 15} + + + diff --git a/sl.lproj/SUUpdatePermissionPrompt.xib b/sl.lproj/SUUpdatePermissionPrompt.xib new file mode 100644 index 00000000..7e81d019 --- /dev/null +++ b/sl.lproj/SUUpdatePermissionPrompt.xib @@ -0,0 +1,947 @@ + + + + 1050 + 11D39 + 1938 + 1138.30 + 568.00 + + com.apple.InterfaceBuilder.CocoaPlugin + 1938 + + + NSUserDefaultsController + NSScroller + NSArrayController + NSButton + NSScrollView + NSImageView + NSTextFieldCell + NSButtonCell + NSImageCell + NSTableView + NSCustomView + NSCustomObject + NSView + NSWindowTemplate + NSTextField + NSTableColumn + + + com.apple.InterfaceBuilder.CocoaPlugin + + + PluginDependencyRecalculationVersion + + + + + SUUpdatePermissionPrompt + + + FirstResponder + + + NSApplication + + + 1 + 2 + {{83, 492}, {496, 168}} + 1886912512 + + + NSWindow + + + View + + + {213, 107} + + + 256 + + + + 257 + {{313, 12}, {169, 32}} + + 1 + YES + + -2080244224 + 134217728 + Samodejno preverjaj + + LucidaGrande + 13 + 1044 + + + 1 + -2038284033 + 1 + + + DQ + 200 + 25 + + + + + 257 + {{196, 12}, {117, 32}} + + + YES + + 67239424 + 134217728 + Ne preverjaj + + + -2038284033 + 1 + + + Gw + 200 + 25 + + + + + 264 + {{104, 114}, {375, 34}} + + + YES + + 67239424 + 272629760 + Naj občasno preverjam, če so na voljo posodobitve? + + LucidaGrande-Bold + 13 + 2072 + + + + 6 + System + controlColor + + 3 + MC42NjY2NjY2NjY3AA + + + + 6 + System + controlTextColor + + 3 + MAA + + + + + + + 266 + {{104, 81}, {315, 42}} + + + YES + + 67239424 + 272629760 + DO NOT LOCALIZE + + LucidaGrande + 11 + 3100 + + + + + + + + + 264 + {{104, 53}, {278, 18}} + + + YES + + -2080244224 + 163840 + Vključi anonimni profil sistema + + + 1211912703 + 2 + + NSImage + NSSwitch + + + NSSwitch + + + + 200 + 25 + + + + + 264 + + Apple PDF pasteboard type + Apple PICT pasteboard type + Apple PNG pasteboard type + NSFilenamesPboardType + NeXT Encapsulated PostScript v1.2 pasteboard type + NeXT TIFF v4.0 pasteboard type + + {{23, 84}, {64, 64}} + + + YES + + 130560 + 33554432 + + NSImage + NSApplicationIcon + + 0 + 1 + 0 + YES + + YES + + + + 265 + {{80, 50}, {27, 26}} + + + YES + + 67239424 + 134250496 + + + + -1194573569 + 133 + + + 200 + 25 + + + + {496, 168} + + + {{0, 0}, {1280, 778}} + {213, 129} + {10000000000000, 10000000000000} + YES + + + + visibleKey + visibleValue + displayValue + displayKey + + + YES + YES + YES + YES + YES + + + + 266 + + + + 274 + + + + 2304 + + + + 4352 + {353, 113} + + YES + + + 256 + {{346, 0}, {12, 17}} + + + + 128 + 40 + 1000 + + 75628096 + 2048 + + + + 3 + MC4zMzMzMzI5OQA + + + 6 + System + headerTextColor + + + + + 69336577 + 131072 + Text Cell + + + + 6 + System + textBackgroundColor + + 3 + MQA + + + + + 3 + YES + + + + 219 + 40 + 1000 + + 75628096 + 2048 + + + + + + + 69336577 + 131072 + Text Cell + + + + + + 3 + YES + + + + 3 + 2 + + + 6 + System + gridColor + + 3 + MC41AA + + + 14 + -759169024 + + + 4 + 15 + 0 + NO + 0 + 1 + + + {{1, 1}, {353, 113}} + + + + + 6 + System + controlBackgroundColor + + + 4 + + + + -2147483392 + {{-22, 1}, {11, 125}} + + 256 + + _doScroller: + 0.78125 + + + + 256 + {{-100, -100}, {345, 11}} + + 257 + + _doScroller: + 0.99047619104385376 + + + {{4, 5}, {355, 115}} + + + 133650 + + + + AAAAAAAAAABBgAAAQYAAAA + + + + 266 + {{1, 128}, {358, 70}} + + YES + + 67239424 + 272629760 + QW5vbmltbmkgcHJvZmlsIHNpc3RlbWEgc2UgdXBvcmFibGphIHphIG5hxI1ydG92YW5qZSBuYWRhbGpu +ZWdhIHJhenZvamEgcHJvZ3JhbWEuIFYgcHJpbWVydSB2cHJhxaFhbmogbmFzIGxhaGtvIGtvbnRha3Rp +cmF0ZS4KClBvxaFsamVqbyBzZSBzbGVkZcSNZSBpbmZvcm1hY2lqZTo + + + + + + + + {362, 205} + NSView + NSResponder + + + + SUIncludeProfile + SUSendProfileInfo + + YES + + + + + + + window + + + + 126 + + + + moreInfoView + + + + 127 + + + + toggleMoreInfo: + + + + 131 + + + + moreInfoButton + + + + 132 + + + + descriptionTextField + + + + 133 + + + + finishPrompt: + + + + 144 + + + + finishPrompt: + + + + 145 + + + + contentArray: systemProfileInformationArray + + + + + + contentArray: systemProfileInformationArray + contentArray + systemProfileInformationArray + 2 + + + 25 + + + + value: promptDescription + + + + + + value: promptDescription + value + promptDescription + 2 + + + 161 + + + + hidden: shouldAskAboutProfile + + + + + + hidden: shouldAskAboutProfile + hidden + shouldAskAboutProfile + + NSValueTransformerName + NSNegateBoolean + + 2 + + + 143 + + + + value: shouldSendProfile + + + + + + value: shouldSendProfile + value + shouldSendProfile + + + + + 2 + + + 148 + + + + value: icon + + + + + + value: icon + value + icon + 2 + + + 130 + + + + value: arrangedObjects.displayKey + + + + + + value: arrangedObjects.displayKey + value + arrangedObjects.displayKey + 2 + + + 174 + + + + value: arrangedObjects.displayValue + + + + + + value: arrangedObjects.displayValue + value + arrangedObjects.displayValue + 2 + + + 173 + + + + hidden: shouldAskAboutProfile + + + + + + hidden: shouldAskAboutProfile + hidden + shouldAskAboutProfile + + NSValueTransformerName + NSNegateBoolean + + 2 + + + 139 + + + + + + 0 + + + + + + -2 + + + File's Owner + + + -1 + + + First Responder + + + -3 + + + Application + + + 5 + + + + + + Profile Info + + + 6 + + + + + + + + + + + + + + 13 + + + + + + + + 14 + + + + + + + + 32 + + + + + + + + 33 + + + + + + + + 34 + + + + + + + + 37 + + + + + + + + 71 + + + + + + + + 24 + + + Array Controller + + + 39 + + + + + + + MoreInfoView + + + 40 + + + + + + + + + + 41 + + + + + + + + + 42 + + + + + + + + 43 + + + + + 44 + + + + + + + + 45 + + + + + 46 + + + + + + + + 49 + + + User Defaults Controller + + + 176 + + + + + 177 + + + + + 178 + + + + + 179 + + + + + 180 + + + + + 181 + + + + + 182 + + + + + 183 + + + + + 184 + + + + + 185 + + + + + + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + + + + + 185 + + + 0 + IBCocoaFramework + + com.apple.InterfaceBuilder.CocoaPlugin.macosx + + + YES + 3 + + {128, 128} + {15, 15} + + + diff --git a/sl.lproj/Sparkle.strings b/sl.lproj/Sparkle.strings new file mode 100644 index 00000000..47081496 --- /dev/null +++ b/sl.lproj/Sparkle.strings @@ -0,0 +1,95 @@ +/* No comment provided by engineer. */ +"%1$@ %2$@ has been downloaded and is ready to use! Would you like to install it and relaunch %1$@ now?" = "%1$@ %2$@ je bil uspešno prenešen s spleta in je pripravljen na namestitev. Ga želite namestiti in ponovno zagnati takoj?"; + +/* No comment provided by engineer. */ +"%1$@ can't be updated when it's running from a read-only volume like a disk image or an optical drive. Move %1$@ to your Applications folder, relaunch it from there, and try again." = "Programa %1$@ ni mogoče posodobiti, ker ga poganjate iz lokacije, kamor pisanje ni dovoljeno (pogosto je to slika diska dmg ali optična enota). Poskusite %1$@ premakniti v direktorij z aplikacijami (Applications), ga ponovno zagnati in šele nato posodobiti."; + +/* No comment provided by engineer. */ +"%@ %@ is currently the newest version available." = "%1$@ %2$@ je najnovejša verzija programa."; + +/* No comment provided by engineer. */ +"%@ %@ is now available--you have %@. Would you like to download it now?" = "Na voljo je %1$@ %2$@ — vi imate %3$@. Ga želite prenesti s spleta sedaj?"; + +/* No comment provided by engineer. */ +"%@ downloaded" = "prenešenih je %@"; + +/* No comment provided by engineer. */ +"%@ of %@" = "%1$@ od %2$@"; + +/* No comment provided by engineer. */ +"A new version of %@ is available!" = "Na voljo je nova verzija programa %@."; + +/* No comment provided by engineer. */ +"A new version of %@ is ready to install!" = "Najnovejša verzija programa %@ je že nameščena."; + +/* No comment provided by engineer. */ +"An error occurred in retrieving update information. Please try again later." = "Med iskanjem posodobitev je prišlo do napake. Prosimo poskusite ponovno čez nekaj časa."; + +/* No comment provided by engineer. */ +"An error occurred while downloading the update. Please try again later." = "Med prenašanje posodobitve s spleta je prišlo do napake. Prosimo poskusite ponovno čez nekaj časa."; + +/* No comment provided by engineer. */ +"An error occurred while extracting the archive. Please try again later." = "Med odpiranjem arhiva je prišlo do napake. Prosimo poskusite ponovno čez nekaj časa."; + +/* No comment provided by engineer. */ +"An error occurred while installing the update. Please try again later." = "Med nameščanjem posodobitve je prišlo do napake. Prosimo poskusite ponovno čez nekaj časa."; + +/* No comment provided by engineer. */ +"An error occurred while parsing the update feed." = "Napaka pri interpretaciji RSS vira s posodobitvami."; + +/* No comment provided by engineer. */ +"An error occurred while relaunching %1$@, but the new version will be available next time you run %1$@." = "Med ponovnim zagonom programa %1$@ je sicer prišlo do napake, vendar bo nova verzija na voljo, ko boste naslednjič pognali program."; + +/* the unit for bytes */ +"B" = "B"; + +/* No comment provided by engineer. */ +"Cancel" = "Prekliči"; + +/* No comment provided by engineer. */ +"Cancel Update" = "Prekliči posodabljanje"; + +/* No comment provided by engineer. */ +"Checking for updates..." = "Iskanje posodobitev ..."; + +/* Take care not to overflow the status window. */ +"Downloading update..." = "Prenašanje posodobitve ..."; + +/* Take care not to overflow the status window. */ +"Extracting update..." = "Razpakiranje posodobitve ..."; + +/* the unit for gigabytes */ +"GB" = "GB"; + +/* No comment provided by engineer. */ +"Install and Relaunch" = "Namesti in ponovno zaženi"; + +/* Take care not to overflow the status window. */ +"Installing update..." = "Nameščanje posodobitve ..."; + +/* the unit for kilobytes */ +"KB" = "KB"; + +/* the unit for megabytes */ +"MB" = "MB"; + +/* No comment provided by engineer. */ +"OK" = "V redu"; + +/* No comment provided by engineer. */ +"Ready to Install" = "Pripravljen na namestitev"; + +/* No comment provided by engineer. */ +"Should %1$@ automatically check for updates? You can always check for updates manually from the %1$@ menu." = "Naj %1$@ samodejno preverja, če so na voljo posodobitve? To lahko kadarkoli preverite tudi sami iz menija za %1$@."; + +/* No comment provided by engineer. */ +"Update Error!" = "Napaka pri posodabljanju"; + +/* No comment provided by engineer. */ +"Updating %@" = "Posodabljam %@"; + +/* No comment provided by engineer. */ +"You already have the newest version of %@." = "Najnovejša verzija programa %@ je že nameščena."; + +/* No comment provided by engineer. */ +"You're up-to-date!" = "Uporabljate zadnjo verzijo."; \ No newline at end of file diff --git a/uk.lproj/SUAutomaticUpdateAlert.strings b/uk.lproj/SUAutomaticUpdateAlert.strings new file mode 100644 index 00000000..482c9ecf Binary files /dev/null and b/uk.lproj/SUAutomaticUpdateAlert.strings differ diff --git a/uk.lproj/SUAutomaticUpdateAlert.xib b/uk.lproj/SUAutomaticUpdateAlert.xib new file mode 100644 index 00000000..abca47c3 --- /dev/null +++ b/uk.lproj/SUAutomaticUpdateAlert.xib @@ -0,0 +1,687 @@ + + + + 1050 + 11D46 + 2177 + 1138.32 + 568.00 + + com.apple.InterfaceBuilder.CocoaPlugin + 2177 + + + YES + NSTextField + NSView + NSWindowTemplate + NSUserDefaultsController + NSTextFieldCell + NSImageCell + NSButtonCell + NSImageView + NSButton + NSCustomObject + + + YES + com.apple.InterfaceBuilder.CocoaPlugin + + + PluginDependencyRecalculationVersion + + + + YES + + SUAutomaticUpdateAlert + + + FirstResponder + + + NSApplication + + + 1 + 2 + {{114, 521}, {743, 152}} + 1886912512 + + + NSWindow + + + View + + + {511, 152} + + + 256 + + YES + + + 268 + + YES + + YES + Apple PDF pasteboard type + Apple PICT pasteboard type + Apple PNG pasteboard type + NSFilenamesPboardType + NeXT Encapsulated PostScript v1.2 pasteboard type + NeXT TIFF v4.0 pasteboard type + + + {{23, 73}, {64, 64}} + + + + YES + + 130560 + 33554432 + + NSImage + NSApplicationIcon + + 0 + 0 + 0 + NO + + YES + + + + 270 + {{105, 120}, {621, 17}} + + + + YES + + 67239424 + 272629760 + + + LucidaGrande-Bold + 13 + 2072 + + + + 6 + System + controlColor + + 3 + MC42NjY2NjY2NjY3AA + + + + 6 + System + controlTextColor + + 3 + MAA + + + + + + + 270 + {{105, 81}, {621, 31}} + + + + YES + + 67239424 + 272629760 + + + LucidaGrande + 11 + 3100 + + + + + + + + + 257 + {{491, 12}, {248, 32}} + + + YES + + 67239424 + 134217728 + Встановити та перезавантажити + + LucidaGrande + 13 + 1044 + + + -2038284033 + 1 + + + DQ + 200 + 25 + + + + + 257 + {{289, 12}, {200, 32}} + + + + YES + + 67239424 + 134217728 + Встановити при закритті + + + -2038284033 + 1 + + + Gw + 200 + 25 + + + + + 256 + {{102, 12}, {158, 32}} + + + + YES + + 67239424 + 134217728 + Не встановлювати + + + -2038284033 + 1 + + + + + + 200 + 25 + + + + + 256 + {{105, 58}, {619, 18}} + + + + YES + + 67239424 + 131072 + Автоматично завантажувати та встановлювати оновлення у майбутньому + + + 1211912703 + 2 + + NSImage + NSSwitch + + + NSSwitch + + + + 200 + 25 + + + + {743, 152} + + + + + {{0, 0}, {1440, 878}} + {511, 174} + {10000000000000, 10000000000000} + YES + + + YES + + + + + YES + + + window + + + + 22 + + + + installNow: + + + + 33 + + + + installLater: + + + + 34 + + + + doNotInstall: + + + + 35 + + + + value: applicationIcon + + + + + + value: applicationIcon + value + applicationIcon + 2 + + + 10 + + + + value: titleText + + + + + + value: titleText + value + titleText + 2 + + + 11 + + + + value: descriptionText + + + + + + value: descriptionText + value + descriptionText + 2 + + + 14 + + + + value: values.SUAutomaticallyUpdate + + + + + + value: values.SUAutomaticallyUpdate + value + values.SUAutomaticallyUpdate + 2 + + + 19 + + + + + YES + + 0 + + YES + + + + + + -2 + + + File's Owner + + + -1 + + + First Responder + + + -3 + + + Application + + + 5 + + + YES + + + + Window + + + 6 + + + YES + + + + + + + + + + + + 7 + + + YES + + + + + + 8 + + + YES + + + + + + 9 + + + YES + + + + + + 15 + + + YES + + + + + + 16 + + + YES + + + + + + 17 + + + YES + + + + + + 30 + + + YES + + + + + + 18 + + + Shared Defaults + + + 38 + + + + + 39 + + + + + 40 + + + + + 41 + + + + + 42 + + + + + 43 + + + + + 44 + + + + + + + YES + + YES + -1.IBPluginDependency + -2.IBPluginDependency + -3.IBPluginDependency + 15.IBPluginDependency + 16.IBPluginDependency + 17.IBPluginDependency + 18.IBPluginDependency + 30.IBPluginDependency + 38.IBPluginDependency + 39.IBPluginDependency + 40.IBPluginDependency + 41.IBPluginDependency + 42.IBPluginDependency + 43.IBPluginDependency + 44.IBPluginDependency + 5.IBPluginDependency + 5.IBWindowTemplateEditedContentRect + 6.IBPluginDependency + 7.IBPluginDependency + 8.IBPluginDependency + 9.IBPluginDependency + + + YES + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + {{312, 947}, {743, 152}} + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + + + YES + + + + + + YES + + + + + 44 + + + + YES + + SUAutomaticUpdateAlert + SUWindowController + + YES + + YES + doNotInstall: + installLater: + installNow: + + + YES + id + id + id + + + + YES + + YES + doNotInstall: + installLater: + installNow: + + + YES + + doNotInstall: + id + + + installLater: + id + + + installNow: + id + + + + + IBProjectSource + ./Classes/SUAutomaticUpdateAlert.h + + + + SUWindowController + NSWindowController + + IBProjectSource + ./Classes/SUWindowController.h + + + + + 0 + IBCocoaFramework + + com.apple.InterfaceBuilder.CocoaPlugin.macosx + + + + com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 + + + YES + 3 + + YES + + YES + NSApplicationIcon + NSSwitch + + + YES + {128, 128} + {15, 15} + + + + diff --git a/uk.lproj/SUStatus.strings b/uk.lproj/SUStatus.strings new file mode 100644 index 00000000..04199519 Binary files /dev/null and b/uk.lproj/SUStatus.strings differ diff --git a/uk.lproj/SUUpdateAlert.strings b/uk.lproj/SUUpdateAlert.strings new file mode 100644 index 00000000..580048f3 Binary files /dev/null and b/uk.lproj/SUUpdateAlert.strings differ diff --git a/uk.lproj/SUUpdateAlert.xib b/uk.lproj/SUUpdateAlert.xib new file mode 100644 index 00000000..4a9f56be --- /dev/null +++ b/uk.lproj/SUUpdateAlert.xib @@ -0,0 +1,1045 @@ + + + + 1050 + 11D46 + 2177 + 1138.32 + 568.00 + + YES + + YES + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.WebKitIBPlugin + + + YES + 2177 + 1117 + + + + YES + NSButton + NSTextFieldCell + NSButtonCell + NSImageView + NSBox + NSImageCell + WebView + NSCustomObject + NSView + NSWindowTemplate + NSTextField + NSUserDefaultsController + + + YES + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.WebKitIBPlugin + + + PluginDependencyRecalculationVersion + + + + YES + + SUUpdateAlert + + + FirstResponder + + + NSApplication + + + 15 + 2 + {{248, 468}, {612, 369}} + -260571136 + Оновлення програмного забезпечення + NSWindow + + View + + + {575, 370} + + + 256 + + YES + + + 268 + + YES + + YES + Apple PDF pasteboard type + Apple PICT pasteboard type + Apple PNG pasteboard type + NSFilenamesPboardType + NeXT Encapsulated PostScript v1.2 pasteboard type + NeXT TIFF v4.0 pasteboard type + + + {{24, 290}, {64, 64}} + + + + YES + + 130560 + 33554432 + + NSImage + NSApplicationIcon + + 0 + 0 + 0 + NO + + YES + + + + 266 + {{106, 337}, {489, 17}} + + + + YES + + 67239424 + 272629760 + + + LucidaGrande-Bold + 13 + 2072 + + + + 6 + System + controlColor + + 3 + MC42NjY2NjY2NjY3AA + + + + 6 + System + controlTextColor + + 3 + MAA + + + + + + + 268 + {{106, 276}, {452, 17}} + + + + YES + + 67239424 + 272629760 + Примітки про нову версію: + + LucidaGrande-Bold + 11 + 3357 + + + + + + + + + 289 + {{261, 12}, {154, 32}} + + + + YES + + 67239424 + 134217728 + Нагадати пізніше + + LucidaGrande + 13 + 1044 + + + -2038284033 + 1 + + + Gw + 200 + 25 + + + + + 288 + {{65, 12}, {188, 32}} + + + + YES + + 67239424 + 134217728 + Пропустити цю версію + + + -2038284033 + 1 + + + + + + 200 + 25 + + + + + 289 + {{415, 12}, {187, 32}} + + + YES + + -2080244224 + 134217728 + Встановити оновлення + + + -2038284033 + 1 + + + DQ + 200 + 25 + + + + + 274 + + YES + + + 274 + + YES + + + 274 + + YES + + YES + Apple HTML pasteboard type + Apple PDF pasteboard type + Apple PICT pasteboard type + Apple URL pasteboard type + Apple Web Archive pasteboard type + NSColor pasteboard type + NSFilenamesPboardType + NSStringPboardType + NeXT RTFD pasteboard type + NeXT Rich Text Format v1.0 pasteboard type + NeXT TIFF v4.0 pasteboard type + WebURLsWithTitlesPboardType + public.png + public.url + public.url-name + + + {{-2, -1}, {482, 198}} + + + + + + + + + YES + + YES + WebKitDefaultFixedFontSize + WebKitDefaultFontSize + WebKitMinimumFontSize + + + YES + + + + + + + NO + YES + + + {{1, 1}, {480, 196}} + + + + + + {{110, 76}, {482, 198}} + + + + {0, 0} + + 67239424 + 0 + + + LucidaGrande + 11 + 16 + + + 6 + System + textBackgroundColor + + 3 + MQA + + + + 3 + MCAwLjgwMDAwMDAxMTkAA + + + + 1 + 3 + 0 + NO + + + + 266 + {{106, 301}, {489, 28}} + + + + YES + + 67239424 + 4194304 + + + LucidaGrande + 11 + 3100 + + + + + + + + + 290 + {{106, 50}, {488, 18}} + + + + YES + + 67239424 + 131072 + Автоматично завантажувати та встановлювати оновлення у майбутньому + + + 1211912703 + 2 + + NSImage + NSSwitch + + + NSSwitch + + + + 200 + 25 + + + + {612, 369} + + + + + {{0, 0}, {1440, 878}} + {575, 392} + {10000000000000, 10000000000000} + + YES + + + YES + + + + + YES + + + releaseNotesView + + + + 32 + + + + skipThisVersion: + + + + 33 + + + + remindMeLater: + + + + 34 + + + + window + + + + 69 + + + + installUpdate: + + + + 77 + + + + description + + + + 105 + + + + installButton + + + + 176 + + + + laterButton + + + + 177 + + + + skipButton + + + + 178 + + + + delegate + + + + 50 + + + + value: applicationIcon + + + + + + value: applicationIcon + value + applicationIcon + 2 + + + 9 + + + + value: titleText + + + + + + value: titleText + value + titleText + 2 + + + 11 + + + + hidden: showsReleaseNotes + + + + + + hidden: showsReleaseNotes + hidden + showsReleaseNotes + + NSValueTransformerName + NSNegateBoolean + + 2 + + + 72 + + + + hidden: showsReleaseNotes + + + + + + hidden: showsReleaseNotes + hidden + showsReleaseNotes + + NSValueTransformerName + NSNegateBoolean + + 2 + + + 161 + + + + hidden: showsReleaseNotes + + + + + + hidden: showsReleaseNotes + hidden + showsReleaseNotes + + NSValueTransformerName + NSNegateBoolean + + 2 + + + 164 + + + + value: descriptionText + + + + + + value: descriptionText + value + descriptionText + 2 + + + 103 + + + + value: values.SUAutomaticallyUpdate + + + + + + value: values.SUAutomaticallyUpdate + value + values.SUAutomaticallyUpdate + 2 + + + 135 + + + + hidden: allowsAutomaticUpdates + + + + + + hidden: allowsAutomaticUpdates + hidden + allowsAutomaticUpdates + + NSValueTransformerName + NSNegateBoolean + + 2 + + + 141 + + + + + YES + + 0 + + YES + + + + + + -2 + + + File's Owner + + + -1 + + + First Responder + + + -3 + + + Application + + + 5 + + + YES + + + + Update Alert (release notes) + + + 6 + + + YES + + + + + + + + + + + + + + 7 + + + YES + + + + + + 10 + + + YES + + + + + + 17 + + + YES + + + + + + 22 + + + YES + + + + + + 23 + + + YES + + + + + + 76 + + + YES + + + + + + 89 + + + YES + + + + + + 101 + + + YES + + + + + + 117 + + + YES + + + + + + 93 + + + Shared Defaults + + + 168 + + + + + 169 + + + + + 170 + + + + + 171 + + + + + 172 + + + + + 173 + + + + + 174 + + + + + 175 + + + + + 18 + + + + + + + YES + + YES + -1.IBPluginDependency + -2.IBPluginDependency + -3.IBPluginDependency + 10.IBPluginDependency + 101.IBPluginDependency + 117.IBPluginDependency + 168.IBPluginDependency + 169.IBPluginDependency + 17.IBPluginDependency + 170.IBPluginDependency + 171.IBPluginDependency + 172.IBPluginDependency + 173.IBPluginDependency + 174.IBPluginDependency + 175.IBPluginDependency + 18.IBPluginDependency + 22.IBPluginDependency + 23.IBPluginDependency + 5.IBPluginDependency + 5.IBWindowTemplateEditedContentRect + 6.IBPluginDependency + 7.IBPluginDependency + 76.IBPluginDependency + 89.IBPluginDependency + 93.IBPluginDependency + + + YES + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.WebKitIBPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + {{643, 222}, {575, 370}} + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + + + YES + + + + + + YES + + + + + 178 + + + + YES + + SUUpdateAlert + SUWindowController + + YES + + YES + installUpdate: + remindMeLater: + skipThisVersion: + + + YES + id + id + id + + + + YES + + YES + installUpdate: + remindMeLater: + skipThisVersion: + + + YES + + installUpdate: + id + + + remindMeLater: + id + + + skipThisVersion: + id + + + + + YES + + YES + description + installButton + laterButton + releaseNotesView + skipButton + + + YES + NSTextField + NSButton + NSButton + WebView + NSButton + + + + YES + + YES + description + installButton + laterButton + releaseNotesView + skipButton + + + YES + + description + NSTextField + + + installButton + NSButton + + + laterButton + NSButton + + + releaseNotesView + WebView + + + skipButton + NSButton + + + + + IBProjectSource + ./Classes/SUUpdateAlert.h + + + + SUWindowController + NSWindowController + + IBProjectSource + ./Classes/SUWindowController.h + + + + + 0 + IBCocoaFramework + + com.apple.InterfaceBuilder.CocoaPlugin.macosx + + + + com.apple.InterfaceBuilder.CocoaPlugin.macosx + + + + com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 + + + YES + 3 + + YES + + YES + NSApplicationIcon + NSSwitch + + + YES + {128, 128} + {15, 15} + + + + diff --git a/uk.lproj/SUUpdatePermissionPrompt.strings b/uk.lproj/SUUpdatePermissionPrompt.strings new file mode 100755 index 00000000..6076fcdb Binary files /dev/null and b/uk.lproj/SUUpdatePermissionPrompt.strings differ diff --git a/uk.lproj/SUUpdatePermissionPrompt.xib b/uk.lproj/SUUpdatePermissionPrompt.xib new file mode 100644 index 00000000..19bb0547 --- /dev/null +++ b/uk.lproj/SUUpdatePermissionPrompt.xib @@ -0,0 +1,1159 @@ + + + + 1050 + 11D46 + 2177 + 1138.32 + 568.00 + + com.apple.InterfaceBuilder.CocoaPlugin + 2177 + + + YES + NSUserDefaultsController + NSScroller + NSArrayController + NSButton + NSScrollView + NSImageView + NSTextFieldCell + NSButtonCell + NSImageCell + NSTableView + NSCustomView + NSCustomObject + NSView + NSWindowTemplate + NSTextField + NSTableColumn + + + YES + com.apple.InterfaceBuilder.CocoaPlugin + + + PluginDependencyRecalculationVersion + + + + YES + + SUUpdatePermissionPrompt + + + FirstResponder + + + NSApplication + + + 1 + 2 + {{83, 492}, {542, 168}} + 1886912512 + + + NSWindow + + + View + + + {213, 107} + + + 256 + + YES + + + 257 + {{325, 12}, {199, 32}} + + + 1 + YES + + -2080244224 + 134217728 + Перевіряти автоматично + + LucidaGrande + 13 + 1044 + + + 1 + -2038284033 + 1 + + + DQ + 200 + 25 + + + + + 257 + {{186, 12}, {140, 32}} + + + YES + + 67239424 + 134217728 + Не перервіряти + + + -2038284033 + 1 + + + Gw + 200 + 25 + + + + + 264 + {{104, 114}, {421, 34}} + + + YES + + 67239424 + 272629760 + Виконувати автоматичну перевірку оновлень? + + LucidaGrande-Bold + 13 + 2072 + + + + 6 + System + controlColor + + 3 + MC42NjY2NjY2NjY3AA + + + + 6 + System + controlTextColor + + 3 + MAA + + + + + + + 266 + {{104, 81}, {419, 42}} + + + YES + + 67239424 + 272629760 + DO NOT LOCALIZE + + LucidaGrande + 11 + 3100 + + + + + + + + + 264 + {{104, 53}, {278, 18}} + + + YES + + -2080244224 + 163840 + Автоматично надсилати профіль системи + + + 1211912703 + 2 + + NSImage + NSSwitch + + + NSSwitch + + + + 200 + 25 + + + + + 264 + + YES + + YES + Apple PDF pasteboard type + Apple PICT pasteboard type + Apple PNG pasteboard type + NSFilenamesPboardType + NeXT Encapsulated PostScript v1.2 pasteboard type + NeXT TIFF v4.0 pasteboard type + + + {{23, 84}, {64, 64}} + + + YES + + 130560 + 33554432 + + NSImage + NSApplicationIcon + + 0 + 1 + 0 + YES + + YES + + + + 268 + {{80, 50}, {27, 26}} + + + YES + + 67239424 + 134250496 + + + + -1194573569 + 133 + + + 200 + 25 + + + + {542, 168} + + + + {{0, 0}, {1440, 878}} + {213, 129} + {10000000000000, 10000000000000} + YES + + + + YES + visibleKey + visibleValue + displayValue + displayKey + + + YES + YES + YES + YES + YES + + + + 266 + + YES + + + 274 + + YES + + + 2304 + + YES + + + 4352 + {353, 113} + + + YES + + + 256 + {{346, 0}, {12, 17}} + + + YES + + 128 + 40 + 1000 + + 75628096 + 2048 + + + + 3 + MC4zMzMzMzI5OQA + + + 6 + System + headerTextColor + + + + + 69336577 + 131072 + Text Cell + + + + 6 + System + textBackgroundColor + + 3 + MQA + + + + + 3 + YES + + + + 219 + 40 + 1000 + + 75628096 + 2048 + + + + + + + 69336577 + 131072 + Text Cell + + + + + + 3 + YES + + + + 3 + 2 + + + 6 + System + gridColor + + 3 + MC41AA + + + 14 + -759169024 + + + 4 + 15 + 0 + NO + 0 + 1 + + + {{1, 1}, {353, 113}} + + + + + + 6 + System + controlBackgroundColor + + + 4 + + + + -2147483392 + {{-22, 1}, {11, 125}} + + + 256 + + _doScroller: + 0.78125 + + + + -2147483392 + {{-100, -100}, {345, 11}} + + + 257 + + _doScroller: + 0.99047620000000003 + + + {{4, 5}, {355, 115}} + + + + 133650 + + + + AAAAAAAAAABBgAAAQYAAAA + + + + 266 + {{1, 128}, {358, 70}} + + + YES + + 67239424 + 272629760 + 0JLQuNC60L7RgNC40YHRgtCw0L3QvdGPINCw0L3QvtC90ZbQvNC90L7Qs9C+INC/0YDQvtGE0ZbQu9GO +INGB0LjRgdGC0LXQvNC4INC00L7Qv9C+0LzQsNCz0LDRlCDQvdCw0Lwg0YMg0L/Qu9Cw0L3Rg9Cy0LDQ +vdC90Y8g0LzQsNC50LHRg9GC0L3RjNC+0Zcg0YDQvtC30YDQvtCx0LrQuC4g0K/QutGJ0L4g0YMg0LLQ +sNGBINCy0LjQvdC40LrQu9C4INC/0LjRgtCw0L3QvdGPINGJ0L7QtNC+INGG0YzQvtCz0L4sINC30LLQ +tdGA0YLQsNC50YLQtdGB0Ywg0LTQviDQvdCw0YEuCgrQhtC90YTQvtGA0LzQsNGG0ZbRjywg0YnQviDQ +sdGD0LTQtSDQvdCw0LTRltGB0LvQsNC90L46A + + + + + + + + {362, 205} + + + NSView + NSResponder + + + + YES + SUIncludeProfile + SUSendProfileInfo + + YES + + + + + YES + + + window + + + + 126 + + + + moreInfoView + + + + 127 + + + + toggleMoreInfo: + + + + 131 + + + + moreInfoButton + + + + 132 + + + + descriptionTextField + + + + 133 + + + + finishPrompt: + + + + 144 + + + + finishPrompt: + + + + 145 + + + + contentArray: systemProfileInformationArray + + + + + + contentArray: systemProfileInformationArray + contentArray + systemProfileInformationArray + 2 + + + 25 + + + + value: promptDescription + + + + + + value: promptDescription + value + promptDescription + 2 + + + 161 + + + + hidden: shouldAskAboutProfile + + + + + + hidden: shouldAskAboutProfile + hidden + shouldAskAboutProfile + + NSValueTransformerName + NSNegateBoolean + + 2 + + + 143 + + + + value: shouldSendProfile + + + + + + value: shouldSendProfile + value + shouldSendProfile + + YES + + YES + NSNullPlaceholder + NSValidatesImmediately + + + YES + + + + + 2 + + + 148 + + + + value: icon + + + + + + value: icon + value + icon + 2 + + + 130 + + + + value: arrangedObjects.displayKey + + + + + + value: arrangedObjects.displayKey + value + arrangedObjects.displayKey + 2 + + + 174 + + + + value: arrangedObjects.displayValue + + + + + + value: arrangedObjects.displayValue + value + arrangedObjects.displayValue + 2 + + + 173 + + + + hidden: shouldAskAboutProfile + + + + + + hidden: shouldAskAboutProfile + hidden + shouldAskAboutProfile + + NSValueTransformerName + NSNegateBoolean + + 2 + + + 139 + + + + + YES + + 0 + + YES + + + + + + -2 + + + File's Owner + + + -1 + + + First Responder + + + -3 + + + Application + + + 5 + + + YES + + + + Profile Info + + + 6 + + + YES + + + + + + + + + + + + 13 + + + YES + + + + + + 14 + + + YES + + + + + + 32 + + + YES + + + + + + 33 + + + YES + + + + + + 34 + + + YES + + + + + + 37 + + + YES + + + + + + 71 + + + YES + + + + + + 24 + + + Array Controller + + + 39 + + + YES + + + + + MoreInfoView + + + 40 + + + YES + + + + + + + + 41 + + + YES + + + + + + + 42 + + + YES + + + + + + 43 + + + + + 44 + + + YES + + + + + + 45 + + + + + 46 + + + YES + + + + + + 49 + + + User Defaults Controller + + + 176 + + + + + 177 + + + + + 178 + + + + + 179 + + + + + 180 + + + + + 181 + + + + + 182 + + + + + 183 + + + + + 184 + + + + + 185 + + + + + + + YES + + YES + -1.IBPluginDependency + -2.IBPluginDependency + -3.IBPluginDependency + 13.IBPluginDependency + 14.IBPluginDependency + 176.IBPluginDependency + 177.IBPluginDependency + 178.IBPluginDependency + 179.IBPluginDependency + 180.IBPluginDependency + 181.IBPluginDependency + 182.IBPluginDependency + 183.IBPluginDependency + 184.IBPluginDependency + 184.IBShouldRemoveOnLegacySave + 185.IBPluginDependency + 185.IBShouldRemoveOnLegacySave + 24.IBPluginDependency + 32.IBPluginDependency + 33.IBPluginDependency + 34.IBPluginDependency + 37.IBPluginDependency + 39.IBPluginDependency + 40.IBPluginDependency + 41.IBPluginDependency + 42.IBPluginDependency + 43.IBPluginDependency + 44.IBPluginDependency + 45.IBPluginDependency + 46.IBPluginDependency + 49.IBPluginDependency + 5.IBPluginDependency + 5.IBWindowTemplateEditedContentRect + 6.IBPluginDependency + 71.IBPluginDependency + + + YES + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + {{312, 977}, {438, 168}} + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + + + YES + + + + + + YES + + + + + 185 + + + + YES + + SUUpdatePermissionPrompt + SUWindowController + + YES + + YES + finishPrompt: + toggleMoreInfo: + + + YES + id + id + + + + YES + + YES + finishPrompt: + toggleMoreInfo: + + + YES + + finishPrompt: + id + + + toggleMoreInfo: + id + + + + + YES + + YES + descriptionTextField + moreInfoButton + moreInfoView + + + YES + NSTextField + NSButton + NSView + + + + YES + + YES + descriptionTextField + moreInfoButton + moreInfoView + + + YES + + descriptionTextField + NSTextField + + + moreInfoButton + NSButton + + + moreInfoView + NSView + + + + + IBProjectSource + ./Classes/SUUpdatePermissionPrompt.h + + + + SUWindowController + NSWindowController + + IBProjectSource + ./Classes/SUWindowController.h + + + + + 0 + IBCocoaFramework + + com.apple.InterfaceBuilder.CocoaPlugin.macosx + + + + com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 + + + YES + 3 + + YES + + YES + NSApplicationIcon + NSSwitch + + + YES + {128, 128} + {15, 15} + + + + diff --git a/uk.lproj/Sparkle.strings b/uk.lproj/Sparkle.strings new file mode 100644 index 00000000..0f92ac4b --- /dev/null +++ b/uk.lproj/Sparkle.strings @@ -0,0 +1,100 @@ +/* No comment provided by engineer. */ +"%1$@ %2$@ has been downloaded and is ready to use! Would you like to install it and relaunch %1$@ now?" = "%1$@ %2$@ завантажений і готовий до використання! Бажаєте встановити і перезавантажити %1$@?"; + +/* No comment provided by engineer. */ +"%1$@ can't be updated when it's running from a read-only volume like a disk image or an optical drive. Move %1$@ to your Applications folder, relaunch it from there, and try again." = "Під час роботи з %1$@ з тому, що призначений лише для читання, наприклад, образу диска чи оптичного диску, його неможливо оновити. Перемістіть %1$@ у папку з програмами, перезавантажте його звідти і спробуйте ще раз."; + +/* No comment provided by engineer. */ +"%@ %@ is currently the newest version available." = "У данний момент %1$@ %2$@ є останньою версією."; + +/* No comment provided by engineer. */ +"%@ %@ is now available--you have %@. Would you like to download it now?" = "%1$@ %2$@ доступна – ви маєте %3$@. Бажаєте завантажити її зараз?"; + +/* No comment provided by engineer. */ +"%@ downloaded" = "%@ завантажено"; + +/* No comment provided by engineer. */ +"%@ of %@" = "%1$@ із %2$@"; + +/* No comment provided by engineer. */ +"A new version of %@ is available!" = "Доступна нова версія %@!"; + +/* No comment provided by engineer. */ +"A new version of %@ is ready to install!" = "Нова версія %@ готова до встановлення!"; + +/* No comment provided by engineer. */ +"An error occurred in retrieving update information. Please try again later." = "Виникла помилка при отриманні інформації про оновлення. Спробуйте ще пізніше."; + +/* No comment provided by engineer. */ +"An error occurred while downloading the update. Please try again later." = "Виникла помилка при завантаження оновлення. Спробуйте ще пізніше."; + +/* No comment provided by engineer. */ +"An error occurred while extracting the archive. Please try again later." = "Виникла помилка при розпаковуванні архіву. Спробуйте ще пізніше."; + +/* No comment provided by engineer. */ +"An error occurred while installing the update. Please try again later." = "Виникла помилка при встановленні оновлення. Спробуйте ще пізніше."; + +/* No comment provided by engineer. */ +"An error occurred while parsing the update feed." = "Виникла помилка при розборі фіду оновлень."; + +/* No comment provided by engineer. */ +"An error occurred while relaunching %1$@, but the new version will be available next time you run %1$@." = "Виникла помилка при перезавантаженні %1$@, але наступного разу при завантаження %1$@ буде доступна нова версія."; + +/* the unit for bytes */ +"B" = "Б"; + +/* No comment provided by engineer. */ +"Cancel" = "Відмінити"; + +/* No comment provided by engineer. */ +"Cancel Update" = "Відмінити оновлення"; + +/* No comment provided by engineer. */ +"Checking for updates..." = "Перевіря наявність оновлень…"; + +/* Take care not to overflow the status window. */ +"Downloading update..." = "Завантажую оновлення…"; + +/* Take care not to overflow the status window. */ +"Extracting update..." = "Розпаковую оновлення…"; + +/* the unit for gigabytes */ +"GB" = "ГБ"; + +/* No comment provided by engineer. */ +"Install and Relaunch" = "Встановити та перезавантажити"; + +/* Take care not to overflow the status window. */ +"Installing update..." = "Встановлюю оновлення…"; + +/* the unit for kilobytes */ +"KB" = "КБ"; + +/* the unit for megabytes */ +"MB" = "МБ"; + +/* No comment provided by engineer. */ +"OK" = "OK"; + +/* No comment provided by engineer. */ +"Ready to Install" = "Готовий до встановлення"; + +/* No comment provided by engineer. */ +"Should %1$@ automatically check for updates? You can always check for updates manually from the %1$@ menu." = "Чи повинен %1$@ автоматично виконувати перевірку на оновлення? Ви завжди можете самостійно перевірити оновлення у меню %1$@."; + +/* No comment provided by engineer. */ +"Update Error!" = "Помилка оновлення!"; + +/* No comment provided by engineer. */ +"Updating %@" = "Оновлюю %@"; + +/* No comment provided by engineer. */ +"You already have the newest version of %@." = "Ви вже маєте саму останню версію программи %@."; + +/* No comment provided by engineer. */ +"You're up-to-date!" = "У вас остання версія!"; + +/* Alternative name for "Install" button if we have a paid update or other update + without a download but with a URL. */ + +"Learn More..." = "Дізнатись більше…"; \ No newline at end of file