Skip to content

Commit

Permalink
Merge pull request #3 from stuartbreckenridge/main
Browse files Browse the repository at this point in the history
Sparke 2.x with symlinks removed
  • Loading branch information
vincode-io authored Dec 2, 2020
2 parents 6b6d1d4 + c05134b commit 67cd263
Show file tree
Hide file tree
Showing 31 changed files with 107 additions and 116 deletions.
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// swift-tools-version:5.3
import PackageDescription

let version = "2.0.0-beta1"
let checksum = "373e8426a83e6f61f52191420ee9c59c5c898b86dbf9a3ca0f6cc06db0bbb6f6"
let version = "2.0.0-beta2"
let checksum = "f43283ba6a7974a4cb863306cff672f6818666b4e19f3fa5ae1ffa4ed1cb9b09"
let url = "https://github.com/sparkle-project/Sparkle/releases/download/\(version)/Sparkle-SPM-\(version).zip"


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,19 @@
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
<string>12B45b</string>
<string>12C5020f</string>
<key>DTPlatformName</key>
<string>macosx</string>
<key>DTPlatformVersion</key>
<string>11.0</string>
<string>11.1</string>
<key>DTSDKBuild</key>
<string>20A2408</string>
<string>20C5048g</string>
<key>DTSDKName</key>
<string>macosx11.0</string>
<string>macosx11.1</string>
<key>DTXcode</key>
<string>1220</string>
<string>1230</string>
<key>DTXcodeBuild</key>
<string>12B45b</string>
<string>12C5020f</string>
<key>LSMinimumSystemVersion</key>
<string>10.9</string>
<key>NSAppTransportSecurity</key>
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,19 @@
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
<string>12B45b</string>
<string>12C5020f</string>
<key>DTPlatformName</key>
<string>macosx</string>
<key>DTPlatformVersion</key>
<string>11.0</string>
<string>11.1</string>
<key>DTSDKBuild</key>
<string>20A2408</string>
<string>20C5048g</string>
<key>DTSDKName</key>
<string>macosx11.0</string>
<string>macosx11.1</string>
<key>DTXcode</key>
<string>1220</string>
<string>1230</string>
<key>DTXcodeBuild</key>
<string>12B45b</string>
<string>12C5020f</string>
<key>LSMinimumSystemVersion</key>
<string>10.9</string>
<key>NSHumanReadableCopyright</key>
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,19 @@
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
<string>12B45b</string>
<string>12C5020f</string>
<key>DTPlatformName</key>
<string>macosx</string>
<key>DTPlatformVersion</key>
<string>11.0</string>
<string>11.1</string>
<key>DTSDKBuild</key>
<string>20A2408</string>
<string>20C5048g</string>
<key>DTSDKName</key>
<string>macosx11.0</string>
<string>macosx11.1</string>
<key>DTXcode</key>
<string>1220</string>
<string>1230</string>
<key>DTXcodeBuild</key>
<string>12B45b</string>
<string>12C5020f</string>
<key>LSMinimumSystemVersion</key>
<string>10.9</string>
<key>NSHumanReadableCopyright</key>
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,19 @@
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
<string>12B45b</string>
<string>12C5020f</string>
<key>DTPlatformName</key>
<string>macosx</string>
<key>DTPlatformVersion</key>
<string>11.0</string>
<string>11.1</string>
<key>DTSDKBuild</key>
<string>20A2408</string>
<string>20C5048g</string>
<key>DTSDKName</key>
<string>macosx11.0</string>
<string>macosx11.1</string>
<key>DTXcode</key>
<string>1220</string>
<string>1230</string>
<key>DTXcodeBuild</key>
<string>12B45b</string>
<string>12C5020f</string>
<key>LSMinimumSystemVersion</key>
<string>10.9</string>
<key>LSUIElement</key>
Expand Down
Binary file not shown.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -422,11 +422,6 @@
<key>optional</key>
<true/>
</dict>
<key>Resources/fr_CA.lproj</key>
<dict>
<key>symlink</key>
<string>fr.lproj</string>
</dict>
<key>Resources/he.lproj/Sparkle.strings</key>
<dict>
<key>hash</key>
Expand Down Expand Up @@ -531,11 +526,6 @@
<key>optional</key>
<true/>
</dict>
<key>Resources/pt.lproj</key>
<dict>
<key>symlink</key>
<string>pt_BR.lproj</string>
</dict>
<key>Resources/pt_BR.lproj/Sparkle.strings</key>
<dict>
<key>hash</key>
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,19 @@
<dict>
<key>cdhash</key>
<data>
4u6dcWJ/FUGEoMzv+dGop57DXtw=
u0qoh2VvBAW6fJEeoXorKHXvhHs=
</data>
<key>requirement</key>
<string>cdhash H"658a70b9d2d389c086433126ff259ee263247b29" or cdhash H"e2ee9d71627f154184a0cceff9d1a8a79ec35edc" or cdhash H"86f6cbd23c573f1aab41c027d28c8c2ba4ea0124" or cdhash H"a666ab9b660affc2ddf89855f05983e54e78a422"</string>
<string>cdhash H"20af53f81a546e8334a00fb69c11e37db6dafad2" or cdhash H"bb4aa887656f0405ba7c911ea17a2b2875ef847b" or cdhash H"2e2d7ac632e3634bf426103b3adb73ebe854946a" or cdhash H"2874c18997b7d8e1754efb4483db6a7723402063"</string>
</dict>
<key>MacOS/Updater.app</key>
<dict>
<key>cdhash</key>
<data>
Vd1bV7RYKTFw7rrVvq4vORweSNw=
h4o7I1a2kCGl7LiHOV5QKE7dHAg=
</data>
<key>requirement</key>
<string>cdhash H"55c5f5c21d7a1b677908ef0951c008f170413490" or cdhash H"55dd5b57b458293170eebad5beae2f391c1e48dc" or cdhash H"934f6e08232316efc5e602b37471ff2825f20d1a" or cdhash H"cff78d762d3bf40e44394124a874ec43129f0879"</string>
<string>cdhash H"1fe27afbf32de48bc327fb837cda4203af9a5678" or cdhash H"878a3b2356b69021a5ecb887395e50284edd1c08" or cdhash H"8f28a4f46acf89c87da9377362334f2ce224b521" or cdhash H"d7fdaab6ca5b9cf986f0d819b555c3d1f57b99e5"</string>
</dict>
</dict>
<key>rules</key>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,19 @@
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
<string>12B45b</string>
<string>12C5020f</string>
<key>DTPlatformName</key>
<string>macosx</string>
<key>DTPlatformVersion</key>
<string>11.0</string>
<string>11.1</string>
<key>DTSDKBuild</key>
<string>20A2408</string>
<string>20C5048g</string>
<key>DTSDKName</key>
<string>macosx11.0</string>
<string>macosx11.1</string>
<key>DTXcode</key>
<string>1220</string>
<string>1230</string>
<key>DTXcodeBuild</key>
<string>12B45b</string>
<string>12C5020f</string>
<key>LSMinimumSystemVersion</key>
<string>10.9</string>
<key>NSHumanReadableCopyright</key>
Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,12 @@ SU_EXPORT @interface SPUUpdater : NSObject
*/
- (void)resetUpdateCycle;


/*!
The system profile information that is sent when checking for updates
*/
@property (nonatomic, readonly, copy) NSArray<NSDictionary<NSString *, NSString *> *> *systemProfileArray;

@end

NS_ASSUME_NONNULL_END
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,22 @@ SU_EXPORT extern NSString *const SUUpdaterAppcastItemNotificationKey;
// Key for the SUAppcast object in the SUUpdaterDidFinishLoadingAppCastNotification userInfo
SU_EXPORT extern NSString *const SUUpdaterAppcastNotificationKey;

// -----------------------------------------------------------------------------
// System Profile Keys
// -----------------------------------------------------------------------------

SU_EXPORT extern NSString *const SUSystemProfilerApplicationNameKey;
SU_EXPORT extern NSString *const SUSystemProfilerApplicationVersionKey;
SU_EXPORT extern NSString *const SUSystemProfilerCPU64bitKey;
SU_EXPORT extern NSString *const SUSystemProfilerCPUCountKey;
SU_EXPORT extern NSString *const SUSystemProfilerCPUFrequencyKey;
SU_EXPORT extern NSString *const SUSystemProfilerCPUTypeKey;
SU_EXPORT extern NSString *const SUSystemProfilerCPUSubtypeKey;
SU_EXPORT extern NSString *const SUSystemProfilerHardwareModelKey;
SU_EXPORT extern NSString *const SUSystemProfilerMemoryKey;
SU_EXPORT extern NSString *const SUSystemProfilerOperatingSystemVersionKey;
SU_EXPORT extern NSString *const SUSystemProfilerPreferredLanguageKey;

// -----------------------------------------------------------------------------
// SPUUpdater Delegate:
// -----------------------------------------------------------------------------
Expand Down Expand Up @@ -99,6 +115,21 @@ typedef NS_ENUM(NSInteger, SPUUpdateCheck)
- (NSArray *)feedParametersForUpdater:(SPUUpdater *)updater sendingSystemProfile:(BOOL)sendingProfile;
#endif

/*!
Returns a list of system profile keys to be appended to the appcast URL's query string.
If this is unimplemented then all keys will be included.
\param updater The updater instance.
\return An array of system profile keys to include in the appcast URL's query string. Elements must be one of the SUSystemProfiler*Key constants
*/
#if __has_feature(objc_generics)
- (NSArray<NSString *> *)allowedSystemProfileKeysForUpdater:(SPUUpdater *)updater;
#else
- (NSArray *)allowedSystemProfileKeysForUpdater:(SPUUpdater *)updater;
#endif

/*!
Returns a custom appcast URL.
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>20B5022a</string>
<string>20C5048k</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
Expand All @@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>2.0.0 1010-g94d05336</string>
<string>2.0.0 1011-geac45228</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleSupportedPlatforms</key>
Expand All @@ -29,19 +29,19 @@
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
<string>12B5035g</string>
<string>12C5020f</string>
<key>DTPlatformName</key>
<string>macosx</string>
<key>DTPlatformVersion</key>
<string>11.0</string>
<string>11.1</string>
<key>DTSDKBuild</key>
<string>20A5395d</string>
<string>20C5048g</string>
<key>DTSDKName</key>
<string>macosx11.0</string>
<string>macosx11.1</string>
<key>DTXcode</key>
<string>1220</string>
<string>1230</string>
<key>DTXcodeBuild</key>
<string>12B5035g</string>
<string>12C5020f</string>
<key>LSMinimumSystemVersion</key>
<string>10.9</string>
</dict>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>20B5022a</string>
<string>20C5048k</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
Expand All @@ -29,19 +29,19 @@
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
<string>12B5035g</string>
<string>12C5020f</string>
<key>DTPlatformName</key>
<string>macosx</string>
<key>DTPlatformVersion</key>
<string>11.0</string>
<string>11.1</string>
<key>DTSDKBuild</key>
<string>20A5395d</string>
<string>20C5048g</string>
<key>DTSDKName</key>
<string>macosx11.0</string>
<string>macosx11.1</string>
<key>DTXcode</key>
<string>1220</string>
<string>1230</string>
<key>DTXcodeBuild</key>
<string>12B5035g</string>
<string>12C5020f</string>
<key>LSMinimumSystemVersion</key>
<string>10.9</string>
<key>LSUIElement</key>
Expand Down
Binary file not shown.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -422,11 +422,6 @@
<key>optional</key>
<true/>
</dict>
<key>Resources/fr_CA.lproj</key>
<dict>
<key>symlink</key>
<string>fr.lproj</string>
</dict>
<key>Resources/he.lproj/Sparkle.strings</key>
<dict>
<key>hash</key>
Expand Down Expand Up @@ -531,11 +526,6 @@
<key>optional</key>
<true/>
</dict>
<key>Resources/pt.lproj</key>
<dict>
<key>symlink</key>
<string>pt_BR.lproj</string>
</dict>
<key>Resources/pt_BR.lproj/Sparkle.strings</key>
<dict>
<key>hash</key>
Expand Down

This file was deleted.

This file was deleted.

Binary file not shown.
Loading

0 comments on commit 67cd263

Please sign in to comment.