Update Sparkle to 1.27.1

This commit is contained in:
Mitchell Livingston 2022-01-30 17:10:51 -05:00
parent 314aa6925d
commit 0ea4a38c73
223 changed files with 1017 additions and 706 deletions

View File

@ -1,13 +0,0 @@
//
// SPUDownloaderDeprecated.h
// Sparkle
//
// Created by Deadpikle on 12/20/17.
// Copyright © 2017 Sparkle Project. All rights reserved.
//
#import "SPUDownloader.h"
@interface SPUDownloaderDeprecated : SPUDownloader <SPUDownloaderProtocol>
@end

View File

@ -9,11 +9,7 @@
#ifndef SUAPPCAST_H
#define SUAPPCAST_H
#if __has_feature(modules)
@import Foundation;
#else
#import <Foundation/Foundation.h>
#endif
#import "SUExport.h"
NS_ASSUME_NONNULL_BEGIN

View File

@ -10,6 +10,9 @@
#define SUAPPCASTITEM_H
#if __has_feature(modules)
#if __has_warning("-Watimport-in-framework-header")
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
#endif
@import Foundation;
#else
#import <Foundation/Foundation.h>
@ -34,6 +37,7 @@ SU_EXPORT @interface SUAppcastItem : NSObject
@property (copy, readonly) NSDictionary *deltaUpdates;
@property (strong, readonly) NSURL *infoURL;
@property (copy, readonly) NSNumber* phasedRolloutInterval;
@property (copy, readonly) NSString *minimumAutoupdateVersion;
// Initializes with data from a dictionary provided by the RSS class.
- (instancetype)initWithDictionary:(NSDictionary *)dict;

View File

@ -3,7 +3,7 @@
// Sparkle
//
// Created by C.W. Betts on 10/13/14.
// Copyright © 2014 Sparkle Project. All rights reserved.
// Copyright (c) 2014 Sparkle Project. All rights reserved.
//
#ifndef SUERRORS_H
@ -30,6 +30,7 @@ typedef NS_ENUM(OSStatus, SUError) {
SUAppcastError = 1002,
SURunningFromDiskImageError = 1003,
SURunningTranslocated = 1004,
SUWebKitTerminationError = 1005,
// Download phase errors.
SUTemporaryDirectoryError = 2000,

View File

@ -3,7 +3,7 @@
// Sparkle
//
// Created by Jake Petroules on 2014-08-23.
// Copyright © 2014 Sparkle Project. All rights reserved.
// Copyright (c) 2014 Sparkle Project. All rights reserved.
//
#ifndef SUEXPORT_H

View File

@ -149,14 +149,14 @@ SU_EXPORT @interface SUUpdater : NSObject
@property (strong, readonly) NSBundle *sparkleBundle;
/*!
The user agent used when checking for updates.
The user agent used when checking for and downloading updates.
The default implementation can be overrided.
*/
@property (nonatomic, copy) NSString *userAgentString;
/*!
The HTTP headers used when checking for updates.
The HTTP headers used when checking for and downloading updates.
The keys of this dictionary are HTTP header fields (NSString) and values are corresponding values (NSString)
*/
@ -202,7 +202,7 @@ SU_EXPORT @interface SUUpdater : NSObject
You may want to respond to the userDidCancelDownload delegate method in case
the user clicks the "Cancel" button while the update is downloading.
*/
- (void)installUpdatesIfAvailable;
- (void)installUpdatesIfAvailable __attribute__((deprecated("This method is deprecated. Please set SUAutomaticallyUpdate in your Info.plist or use automaticallyDownloadsUpdates property instead.")));
/*!
Returns the date of last update check.

View File

@ -27,7 +27,6 @@
#import "SPUDownloader.h"
#import "SPUDownloaderDelegate.h"
#import "SPUDownloaderDeprecated.h"
#import "SPUDownloadData.h"
#import "SPUDownloaderProtocol.h"
#import "SPUDownloaderSession.h"

View File

@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>20B28</string>
<string>20G224</string>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.24.0 a-67-g0e162c98</string>
<string>1.27.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleSupportedPlatforms</key>
@ -25,27 +25,29 @@
<string>MacOSX</string>
</array>
<key>CFBundleVersion</key>
<string>1.24.0</string>
<string>1.106</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
<string>12C5020f</string>
<string>13A1030d</string>
<key>DTPlatformName</key>
<string>macosx</string>
<key>DTPlatformVersion</key>
<string>11.1</string>
<string>12.0</string>
<key>DTSDKBuild</key>
<string>20C5048g</string>
<string>21A344</string>
<key>DTSDKName</key>
<string>macosx11.1</string>
<string>macosx12.0</string>
<key>DTXcode</key>
<string>1230</string>
<string>1310</string>
<key>DTXcodeBuild</key>
<string>12C5020f</string>
<string>13A1030d</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.utilities</string>
<key>LSBackgroundOnly</key>
<string>1</string>
<key>LSMinimumSystemVersion</key>
<string>10.7</string>
<string>10.9</string>
<key>LSUIElement</key>
<string>1</string>
<key>NSMainNibFile</key>

View File

@ -8,9 +8,17 @@
<data>
4McwRDEss5BzWwUMG2Xf93+ze08=
</data>
<key>Resources/SUStatus.nib</key>
<key>Resources/Base.lproj/Sparkle.strings</key>
<data>
ECVWRExfxyDt5uvKRD+70wc9J6s=
cHZov5FaqzfNhnBo0XdRuTMT4SY=
</data>
<key>Resources/SUStatus.nib/keyedobjects-101300.nib</key>
<data>
CIAIcdXrd5aOBmKYYDM7NGmuxGA=
</data>
<key>Resources/SUStatus.nib/keyedobjects.nib</key>
<data>
AWzvc/Oom69t77SqVhJIUEVnNYw=
</data>
<key>Resources/ar.lproj/Sparkle.strings</key>
<dict>
@ -34,7 +42,7 @@
<dict>
<key>hash</key>
<data>
bY3rkqi/NJtXtjpK3FbV2o0gxbQ=
Gyp0nPqNvS5KdfMw+6ieF0yUTnI=
</data>
<key>optional</key>
<true/>
@ -52,7 +60,7 @@
<dict>
<key>hash</key>
<data>
fsC7FJvExHE/2681tuUrjkSF2+A=
fXH7MjrA6hDT/k/8B6Vwgntt2lw=
</data>
<key>optional</key>
<true/>
@ -66,15 +74,6 @@
<key>optional</key>
<true/>
</dict>
<key>Resources/en.lproj/Sparkle.strings</key>
<dict>
<key>hash</key>
<data>
cHZov5FaqzfNhnBo0XdRuTMT4SY=
</data>
<key>optional</key>
<true/>
</dict>
<key>Resources/es.lproj/Sparkle.strings</key>
<dict>
<key>hash</key>
@ -97,7 +96,7 @@
<dict>
<key>hash</key>
<data>
X3URilwJPVqMTGbtrYdorODwrMA=
xFBTJYPjf7rlbYdkRKNTsPYz5JA=
</data>
<key>optional</key>
<true/>
@ -223,7 +222,7 @@
<dict>
<key>hash</key>
<data>
VpSLGNvZ6sbRYsF23L8m6TG+P6E=
x6JdY7WL2dHnGXX6PHJl5da7WKE=
</data>
<key>optional</key>
<true/>
@ -307,10 +306,10 @@
<dict>
<key>cdhash</key>
<data>
JwkAFJqL9xY1mTI+1Kki3oSFsik=
lxj3mKIQ39AVZEK38pWMaPSGxUs=
</data>
<key>requirement</key>
<string>cdhash H"d5bc45cc18a448c02d5c4dd6859a64524a5b8a85" or cdhash H"270900149a8bf7163599323ed4a922de8485b229" or cdhash H"1b27242b81a5a51561703e2bb8a5e01acac436e9" or cdhash H"ead0c4c63eafc5d32327f0dbf958b7bd0993ec75"</string>
<string>cdhash H"e3eb91f77d0b03312e38c12fa726c22d3d36648e" or cdhash H"9718f798a210dfd0156442b7f2958c68f486c54b" or cdhash H"3041d686c9337dbc22180e5a50a1619b4300b495" or cdhash H"73d14270b04c7bd6598431fd41162ed85684fb94"</string>
</dict>
<key>Resources/AppIcon.icns</key>
<dict>
@ -323,15 +322,37 @@
nq7j0ugQwyNbJn/7zGFwxIR0njwU3i7hAYKEyZhvUfE=
</data>
</dict>
<key>Resources/SUStatus.nib</key>
<key>Resources/Base.lproj/Sparkle.strings</key>
<dict>
<key>hash</key>
<data>
ECVWRExfxyDt5uvKRD+70wc9J6s=
cHZov5FaqzfNhnBo0XdRuTMT4SY=
</data>
<key>hash2</key>
<data>
AtY9YmPv7cUlbFWP2vCyVdi3/M+XQn98wOlrIES2Dgk=
39CdfZZ1CQQz1Gd1+Ukxo2JHl0XESoc/cqWKF091WUk=
</data>
</dict>
<key>Resources/SUStatus.nib/keyedobjects-101300.nib</key>
<dict>
<key>hash</key>
<data>
CIAIcdXrd5aOBmKYYDM7NGmuxGA=
</data>
<key>hash2</key>
<data>
zQHRg9w5HHkCzf82YkWsfd9mPEYj66NGhFY/cgUMYfQ=
</data>
</dict>
<key>Resources/SUStatus.nib/keyedobjects.nib</key>
<dict>
<key>hash</key>
<data>
AWzvc/Oom69t77SqVhJIUEVnNYw=
</data>
<key>hash2</key>
<data>
zGUKYo5Dal8e+pKH1KVfXrogifmh9AWqDdAL/neSQgE=
</data>
</dict>
<key>Resources/ar.lproj/Sparkle.strings</key>
@ -364,11 +385,11 @@
<dict>
<key>hash</key>
<data>
bY3rkqi/NJtXtjpK3FbV2o0gxbQ=
Gyp0nPqNvS5KdfMw+6ieF0yUTnI=
</data>
<key>hash2</key>
<data>
RfJgT2b3STcLu71+1iU9ZcSXbfwMWG1EE1C7Wrf3xBk=
8q22yKUhfKJVOOXteUQZAVVkhfzPQKzoSJdnVNkDPo8=
</data>
<key>optional</key>
<true/>
@ -390,11 +411,11 @@
<dict>
<key>hash</key>
<data>
fsC7FJvExHE/2681tuUrjkSF2+A=
fXH7MjrA6hDT/k/8B6Vwgntt2lw=
</data>
<key>hash2</key>
<data>
XUpgsFH8KmcbgggpdYbJScCg0tBic9tNLdFh+8cbPyw=
bA5bxESyZuC/dG2VKfN+eQ7CVb2qAWrwfu94IpJ4Xi0=
</data>
<key>optional</key>
<true/>
@ -412,19 +433,6 @@
<key>optional</key>
<true/>
</dict>
<key>Resources/en.lproj/Sparkle.strings</key>
<dict>
<key>hash</key>
<data>
cHZov5FaqzfNhnBo0XdRuTMT4SY=
</data>
<key>hash2</key>
<data>
39CdfZZ1CQQz1Gd1+Ukxo2JHl0XESoc/cqWKF091WUk=
</data>
<key>optional</key>
<true/>
</dict>
<key>Resources/es.lproj/Sparkle.strings</key>
<dict>
<key>hash</key>
@ -455,11 +463,11 @@
<dict>
<key>hash</key>
<data>
X3URilwJPVqMTGbtrYdorODwrMA=
xFBTJYPjf7rlbYdkRKNTsPYz5JA=
</data>
<key>hash2</key>
<data>
fyqJl0MhXYRILalxRHpv/JorWLOVLPtNcJioiPtlnYg=
8PKuKp2lymWYfR+BqJ15UWlxOQKUl3fEveeseHBfaTw=
</data>
<key>optional</key>
<true/>
@ -637,11 +645,11 @@
<dict>
<key>hash</key>
<data>
VpSLGNvZ6sbRYsF23L8m6TG+P6E=
x6JdY7WL2dHnGXX6PHJl5da7WKE=
</data>
<key>hash2</key>
<data>
wJZ5NG+mvj4anRFPUFyvSD0kGrg+ZAqklsPfHuCxLQY=
+vCWSRbECqQcsR6Nd8erQda/7x+ku/kQSUvZtTvemyQ=
</data>
<key>optional</key>
<true/>

View File

@ -1,9 +0,0 @@
html {
color: #FFFFFFD8;
}
:link {
color: #419CFF;
}
:link:active {
color: #FF1919;
}

View File

@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>20B28</string>
<string>20G224</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.24.0 a-67-g0e162c98</string>
<string>1.27.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleSupportedPlatforms</key>
@ -25,24 +25,24 @@
<string>MacOSX</string>
</array>
<key>CFBundleVersion</key>
<string>1.24.0</string>
<string>1.106</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
<string>12C5020f</string>
<string>13A1030d</string>
<key>DTPlatformName</key>
<string>macosx</string>
<key>DTPlatformVersion</key>
<string>11.1</string>
<string>12.0</string>
<key>DTSDKBuild</key>
<string>20C5048g</string>
<string>21A344</string>
<key>DTSDKName</key>
<string>macosx11.1</string>
<string>macosx12.0</string>
<key>DTXcode</key>
<string>1230</string>
<string>1310</string>
<key>DTXcodeBuild</key>
<string>12C5020f</string>
<string>13A1030d</string>
<key>LSMinimumSystemVersion</key>
<string>10.7</string>
<string>10.9</string>
</dict>
</plist>

View File

@ -0,0 +1,12 @@
@media (prefers-color-scheme: dark) {
html {
color: white;
background: transparent;
}
:link {
color: #419CFF;
}
:link:active {
color: #FF1919;
}
}

View File

@ -0,0 +1,11 @@
/* Class = "NSButtonCell"; title = "Install and Relaunch"; ObjectID = "41"; */
"41.title" = "Reinicia el programa ara";
/* Class = "NSButtonCell"; title = "Install on Quit"; ObjectID = "42"; */
"42.title" = "Reinicia el programa més tard";
/* Class = "NSButtonCell"; title = "Automatically download and install updates in the future"; ObjectID = "43"; */
"43.title" = "Baixa i instal·la les actualitzacions automàticament en el futur";
/* Class = "NSButtonCell"; title = "Don't Install"; ObjectID = "44"; */
"44.title" = "Don't Install";

View File

@ -0,0 +1,17 @@
/* Class = "NSWindow"; title = "Software Update"; ObjectID = "5"; */
"5.title" = "Actualització del programari";
/* Class = "NSTextFieldCell"; title = "Release Notes:"; ObjectID = "170"; */
"170.title" = "Notes d'aquesta versió:";
/* Class = "NSButtonCell"; title = "Remind Me Later"; ObjectID = "171"; */
"171.title" = "Recorda-m'ho més tard";
/* Class = "NSButtonCell"; title = "Skip This Version"; ObjectID = "172"; */
"172.title" = "Omet aquesta versió";
/* Class = "NSButtonCell"; title = "Install Update"; ObjectID = "173"; */
"173.title" = "Instal·la l'actualització";
/* Class = "NSButtonCell"; title = "Automatically download and install updates in the future"; ObjectID = "175"; */
"175.title" = "Descarrega i instal·la les actualitzacions automàticament en el futur";

View File

@ -0,0 +1,11 @@
/* Class = "NSButtonCell"; title = "Install and Relaunch"; ObjectID = "41"; */
"41.title" = "Instalovat a znovu spustit";
/* Class = "NSButtonCell"; title = "Install on Quit"; ObjectID = "42"; */
"42.title" = "Instalovat a ukončit";
/* Class = "NSButtonCell"; title = "Automatically download and install updates in the future"; ObjectID = "43"; */
"43.title" = "V budoucnu stahovat a instalovat aktualizace automaticky";
/* Class = "NSButtonCell"; title = "Don't Install"; ObjectID = "44"; */
"44.title" = "Neinstalovat";

View File

@ -0,0 +1,17 @@
/* Class = "NSWindow"; title = "Software Update"; ObjectID = "5"; */
"5.title" = "Aktualizace aplikace";
/* Class = "NSTextFieldCell"; title = "Release Notes:"; ObjectID = "170"; */
"170.title" = "Poznámky k vydání:";
/* Class = "NSButtonCell"; title = "Remind Me Later"; ObjectID = "171"; */
"171.title" = "Připomenout později";
/* Class = "NSButtonCell"; title = "Skip This Version"; ObjectID = "172"; */
"172.title" = "Přeskočit tuto verzi";
/* Class = "NSButtonCell"; title = "Install Update"; ObjectID = "173"; */
"173.title" = "Instalovat aktualizaci";
/* Class = "NSButtonCell"; title = "Automatically download and install updates in the future"; ObjectID = "175"; */
"175.title" = "V budoucnu stahovat a instalovat aktualizace automaticky";

View File

@ -0,0 +1,23 @@
/* Class = "NSTextFieldCell"; title = "Text Cell"; ObjectID = "43"; */
"43.title" = "Text Cell";
/* Class = "NSTextFieldCell"; title = "Text Cell"; ObjectID = "45"; */
"45.title" = "Text Cell";
/* Class = "NSButtonCell"; title = "Check Automatically"; ObjectID = "176"; */
"176.title" = "Automaticky vyhledávat";
/* Class = "NSButtonCell"; title = "Dont Check"; ObjectID = "177"; */
"177.title" = "Nevyhledávat";
/* Class = "NSTextFieldCell"; title = "Check for updates automatically?"; ObjectID = "178"; */
"178.title" = "Vyhledávat aktualizace automaticky?";
/* Class = "NSTextFieldCell"; title = "DO NOT LOCALIZE"; ObjectID = "179"; */
"179.title" = "DO NOT LOCALIZE";
/* Class = "NSButtonCell"; title = "Include anonymous system profile"; ObjectID = "180"; */
"180.title" = "Odeslat anonymní systémový profil";
/* Class = "NSTextFieldCell"; title = "Anonymous system profile information is used to help us plan future development work.\nPlease contact us if you have any questions about this.\n\nThis is the information that would be sent:"; ObjectID = "183"; */
"183.title" = "Informace z anonymního systémového profilu pomáhají vývojářům lépe plánovat budoucí vývoj aplikace.\nBudete-li mít nějaký dotaz, obraťte se na nás.\n\nToto jsou informace, které budou odeslány:";

View File

@ -0,0 +1,12 @@
/* Class = "NSButtonCell"; title = "Install and Relaunch"; ObjectID = "41"; */
"41.title" = "Install and Relaunch";
/* Class = "NSButtonCell"; title = "Install on Quit"; ObjectID = "42"; */
"42.title" = "Install on Quit";
/* Class = "NSButtonCell"; title = "Automatically download and install updates in the future"; ObjectID = "43"; */
"43.title" = "Automatically download and install updates in the future";
/* Class = "NSButtonCell"; title = "Don't Install"; ObjectID = "44"; */
"44.title" = "Don't Install";

View File

@ -0,0 +1,18 @@
/* Class = "NSWindow"; title = "Software Update"; ObjectID = "5"; */
"5.title" = "Software Update";
/* Class = "NSTextFieldCell"; title = "Release Notes:"; ObjectID = "170"; */
"170.title" = "Release Notes:";
/* Class = "NSButtonCell"; title = "Remind Me Later"; ObjectID = "171"; */
"171.title" = "Remind Me Later";
/* Class = "NSButtonCell"; title = "Skip This Version"; ObjectID = "172"; */
"172.title" = "Skip This Version";
/* Class = "NSButtonCell"; title = "Install Update"; ObjectID = "173"; */
"173.title" = "Install Update";
/* Class = "NSButtonCell"; title = "Automatically download and install updates in the future"; ObjectID = "175"; */
"175.title" = "Automatically download and install updates in the future";

View File

@ -0,0 +1,24 @@
/* Class = "NSTextFieldCell"; title = "Text Cell"; ObjectID = "43"; */
"43.title" = "Text Cell";
/* Class = "NSTextFieldCell"; title = "Text Cell"; ObjectID = "45"; */
"45.title" = "Text Cell";
/* Class = "NSButtonCell"; title = "Check Automatically"; ObjectID = "176"; */
"176.title" = "Check Automatically";
/* Class = "NSButtonCell"; title = "Dont Check"; ObjectID = "177"; */
"177.title" = "Dont Check";
/* Class = "NSTextFieldCell"; title = "Check for updates automatically?"; ObjectID = "178"; */
"178.title" = "Check for updates automatically?";
/* Class = "NSTextFieldCell"; title = "DO NOT LOCALIZE"; ObjectID = "179"; */
"179.title" = "DO NOT LOCALIZE";
/* Class = "NSButtonCell"; title = "Include anonymous system profile"; ObjectID = "180"; */
"180.title" = "Include anonymous system profile";
/* Class = "NSTextFieldCell"; title = "Anonymous system profile information is used to help us plan future development work. Please contact us if you have any questions about this.\n\nThis is the information that would be sent:"; ObjectID = "183"; */
"183.title" = "Anonymous system profile information is used to help us plan future development work. Please contact us if you have any questions about this.\n\nThis is the information that would be sent:";

View File

@ -0,0 +1,11 @@
/* Class = "NSButtonCell"; title = "Install and Relaunch"; ObjectID = "41"; */
"41.title" = "אתחל עכשיו";
/* Class = "NSButtonCell"; title = "Install on Quit"; ObjectID = "42"; */
"42.title" = "אתחל מאוחר יותר";
/* Class = "NSButtonCell"; title = "Automatically download and install updates in the future"; ObjectID = "43"; */
"43.title" = "הורד והתקן עדכונים אוטומטית גם בעתיד";
/* Class = "NSButtonCell"; title = "Don't Install"; ObjectID = "44"; */
"44.title" = "Don't Install";

View File

@ -0,0 +1,18 @@
/* Class = "NSWindow"; title = "Software Update"; ObjectID = "5"; */
"5.title" = "עדכון תכנה";
/* Class = "NSTextFieldCell"; title = "Release Notes:"; ObjectID = "170"; */
"170.title" = "פרטי גרסה:";
/* Class = "NSButtonCell"; title = "Remind Me Later"; ObjectID = "171"; */
"171.title" = "הזכר לי מאוחר יותר";
/* Class = "NSButtonCell"; title = "Skip This Version"; ObjectID = "172"; */
"172.title" = "דלג על גרסה זו";
/* Class = "NSButtonCell"; title = "Install Update"; ObjectID = "173"; */
"173.title" = "התקן עדכון";
/* Class = "NSButtonCell"; title = "Automatically download and install updates in the future"; ObjectID = "175"; */
"175.title" = "הורד והתקן עדכונים אוטומטית גם בעתיד";

Some files were not shown because too many files have changed in this diff Show More