This repository has been archived by the owner on Nov 10, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
• Updated project settings to recommended • Updated Sparkle to 1.21.3 • Added items to enable Notarization
- Loading branch information
Showing
185 changed files
with
770 additions
and
306 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-4.71 KB
(84%)
...xcodeproj/project.xcworkspace/xcuserdata/btoms.xcuserdatad/UserInterfaceState.xcuserstate
Binary file not shown.
2 changes: 1 addition & 1 deletion
2
AutoImagrNBI.xcodeproj/xcuserdata/btoms.xcuserdatad/xcschemes/AutoCasperNBI.xcscheme
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
AutoImagrNBI.xcodeproj/xcuserdata/btoms.xcuserdatad/xcschemes/AutoImagrNBI copy 2.xcscheme
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
AutoImagrNBI.xcodeproj/xcuserdata/btoms.xcuserdatad/xcschemes/AutoImagrNBI copy.xcscheme
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
AutoImagrNBI.xcodeproj/xcuserdata/btoms.xcuserdatad/xcschemes/AutoImagrNBI.xcscheme
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict/> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
// | ||
// SPUDownloadData.h | ||
// Sparkle | ||
// | ||
// Created by Mayur Pawashe on 8/10/16. | ||
// Copyright © 2016 Sparkle Project. All rights reserved. | ||
// | ||
|
||
#if __has_feature(modules) | ||
@import Foundation; | ||
#else | ||
#import <Foundation/Foundation.h> | ||
#endif | ||
|
||
#import "SUExport.h" | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
/*! | ||
* A class for containing downloaded data along with some information about it. | ||
*/ | ||
SU_EXPORT @interface SPUDownloadData : NSObject <NSSecureCoding> | ||
|
||
- (instancetype)initWithData:(NSData *)data textEncodingName:(NSString * _Nullable)textEncodingName MIMEType:(NSString * _Nullable)MIMEType; | ||
|
||
/*! | ||
* The raw data that was downloaded. | ||
*/ | ||
@property (nonatomic, readonly) NSData *data; | ||
|
||
/*! | ||
* The IANA charset encoding name if available. Eg: "utf-8" | ||
*/ | ||
@property (nonatomic, readonly, nullable, copy) NSString *textEncodingName; | ||
|
||
/*! | ||
* The MIME type if available. Eg: "text/plain" | ||
*/ | ||
@property (nonatomic, readonly, nullable, copy) NSString *MIMEType; | ||
|
||
@end | ||
|
||
NS_ASSUME_NONNULL_END |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// | ||
// SPUDownloader.h | ||
// Downloader | ||
// | ||
// Created by Mayur Pawashe on 4/1/16. | ||
// Copyright © 2016 Sparkle Project. All rights reserved. | ||
// | ||
|
||
#if __has_feature(modules) | ||
@import Foundation; | ||
#else | ||
#import <Foundation/Foundation.h> | ||
#endif | ||
#import "SPUDownloaderProtocol.h" | ||
|
||
@protocol SPUDownloaderDelegate; | ||
|
||
// This object implements the protocol which we have defined. It provides the actual behavior for the service. It is 'exported' by the service to make it available to the process hosting the service over an NSXPCConnection. | ||
@interface SPUDownloader : NSObject <SPUDownloaderProtocol> | ||
|
||
// Due to XPC remote object reasons, this delegate is strongly referenced | ||
// Invoke cleanup when done with this instance | ||
- (instancetype)initWithDelegate:(id <SPUDownloaderDelegate>)delegate; | ||
|
||
@end |
38 changes: 38 additions & 0 deletions
38
Sparkle.framework/Versions/A/Headers/SPUDownloaderDelegate.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
// | ||
// SPUDownloaderDelegate.h | ||
// Sparkle | ||
// | ||
// Created by Mayur Pawashe on 4/1/16. | ||
// Copyright © 2016 Sparkle Project. All rights reserved. | ||
// | ||
|
||
#if __has_feature(modules) | ||
@import Foundation; | ||
#else | ||
#import <Foundation/Foundation.h> | ||
#endif | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
@class SPUDownloadData; | ||
|
||
@protocol SPUDownloaderDelegate <NSObject> | ||
|
||
// This is only invoked for persistent downloads | ||
- (void)downloaderDidSetDestinationName:(NSString *)destinationName temporaryDirectory:(NSString *)temporaryDirectory; | ||
|
||
// Under rare cases, this may be called more than once, in which case the current progress should be reset back to 0 | ||
// This is only invoked for persistent downloads | ||
- (void)downloaderDidReceiveExpectedContentLength:(int64_t)expectedContentLength; | ||
|
||
// This is only invoked for persistent downloads | ||
- (void)downloaderDidReceiveDataOfLength:(uint64_t)length; | ||
|
||
// downloadData is nil if this is a persisent download, otherwise it's non-nil if it's a temporary download | ||
- (void)downloaderDidFinishWithTemporaryDownloadData:(SPUDownloadData * _Nullable)downloadData; | ||
|
||
- (void)downloaderDidFailWithError:(NSError *)error; | ||
|
||
@end | ||
|
||
NS_ASSUME_NONNULL_END |
13 changes: 13 additions & 0 deletions
13
Sparkle.framework/Versions/A/Headers/SPUDownloaderDeprecated.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// | ||
// 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 |
34 changes: 34 additions & 0 deletions
34
Sparkle.framework/Versions/A/Headers/SPUDownloaderProtocol.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
// | ||
// SPUDownloaderProtocol.h | ||
// PersistentDownloader | ||
// | ||
// Created by Mayur Pawashe on 4/1/16. | ||
// Copyright © 2016 Sparkle Project. All rights reserved. | ||
// | ||
|
||
#if __has_feature(modules) | ||
@import Foundation; | ||
#else | ||
#import <Foundation/Foundation.h> | ||
#endif | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
@class SPUURLRequest; | ||
|
||
// The protocol that this service will vend as its API. This header file will also need to be visible to the process hosting the service. | ||
@protocol SPUDownloaderProtocol | ||
|
||
- (void)startPersistentDownloadWithRequest:(SPUURLRequest *)request bundleIdentifier:(NSString *)bundleIdentifier desiredFilename:(NSString *)desiredFilename; | ||
|
||
- (void)startTemporaryDownloadWithRequest:(SPUURLRequest *)request; | ||
|
||
- (void)downloadDidFinish; | ||
|
||
- (void)cleanup; | ||
|
||
- (void)cancel; | ||
|
||
@end | ||
|
||
NS_ASSUME_NONNULL_END |
20 changes: 20 additions & 0 deletions
20
Sparkle.framework/Versions/A/Headers/SPUDownloaderSession.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// | ||
// SPUDownloaderSession.h | ||
// Sparkle | ||
// | ||
// Created by Deadpikle on 12/20/17. | ||
// Copyright © 2017 Sparkle Project. All rights reserved. | ||
// | ||
|
||
#if __has_feature(modules) | ||
@import Foundation; | ||
#else | ||
#import <Foundation/Foundation.h> | ||
#endif | ||
#import "SPUDownloader.h" | ||
#import "SPUDownloaderProtocol.h" | ||
|
||
NS_CLASS_AVAILABLE(NSURLSESSION_AVAILABLE, 7_0) | ||
@interface SPUDownloaderSession : SPUDownloader <SPUDownloaderProtocol> | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
// | ||
// SPUURLRequest.h | ||
// Sparkle | ||
// | ||
// Created by Mayur Pawashe on 5/19/16. | ||
// Copyright © 2016 Sparkle Project. All rights reserved. | ||
// | ||
|
||
#if __has_feature(modules) | ||
@import Foundation; | ||
#else | ||
#import <Foundation/Foundation.h> | ||
#endif | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
// A class that wraps NSURLRequest and implements NSSecureCoding | ||
// This class exists because NSURLRequest did not support NSSecureCoding in macOS 10.8 | ||
// I have not verified if NSURLRequest in 10.9 implements NSSecureCoding or not | ||
@interface SPUURLRequest : NSObject <NSSecureCoding> | ||
|
||
// Creates a new URL request | ||
// Only these properties are currently tracked: | ||
// * URL | ||
// * Cache policy | ||
// * Timeout interval | ||
// * HTTP header fields | ||
// * networkServiceType | ||
+ (instancetype)URLRequestWithRequest:(NSURLRequest *)request; | ||
|
||
@property (nonatomic, readonly) NSURLRequest *request; | ||
|
||
@end | ||
|
||
NS_ASSUME_NONNULL_END |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.