Skip to content

Commit d59b533

Browse files
committed
Revert "Removed Sparkle"
This reverts commit b54ee58.
1 parent bc9e7b5 commit d59b533

189 files changed

Lines changed: 7504 additions & 17 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Application/AppController.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
@class PlaylistController;
88
@class PlaylistView;
99
@class PlaylistLoader;
10+
@class SUUpdater;
1011

1112
@interface AppController : NSObject {
1213
IBOutlet NSObjectController *currentEntryController;
@@ -47,6 +48,8 @@
4748

4849
IBOutlet FileTreeViewController *fileTreeViewController;
4950

51+
IBOutlet SUUpdater *updater;
52+
5053
NSOperationQueue *queue; // Since we are the app delegate, we take care of the op queue
5154

5255
NSMutableSet *expandedNodes;

Application/AppController.m

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@
2828
#import "Shortcuts.h"
2929
#import <MASShortcut/Shortcut.h>
3030

31+
#import <Sparkle/Sparkle.h>
32+
3133
@import Firebase;
3234

3335
void *kAppControllerContext = &kAppControllerContext;
@@ -149,6 +151,11 @@ - (void)awakeFromNib {
149151
[FIRApp configure];
150152
[FIRAnalytics setAnalyticsCollectionEnabled:YES];
151153

154+
#ifdef DEBUG
155+
// Prevent updates automatically in debug builds
156+
[updater setAutomaticallyChecksForUpdates:NO];
157+
#endif
158+
152159
[[totalTimeField cell] setBackgroundStyle:NSBackgroundStyleRaised];
153160

154161
[self.infoButton setToolTip:NSLocalizedString(@"InfoButtonTooltip", @"")];

Base.lproj/MainMenu.xib

Lines changed: 24 additions & 17 deletions
Large diffs are not rendered by default.

Cog.xcodeproj/project.pbxproj

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,8 @@
175175
8384916C18083EAB00E7332D /* stopTemplate.pdf in Resources */ = {isa = PBXBuildFile; fileRef = 8384915618083EAB00E7332D /* stopTemplate.pdf */; };
176176
8384916D18083EAB00E7332D /* volume1Template.pdf in Resources */ = {isa = PBXBuildFile; fileRef = 8384915718083EAB00E7332D /* volume1Template.pdf */; };
177177
8384916E18083EAB00E7332D /* volume3Template.pdf in Resources */ = {isa = PBXBuildFile; fileRef = 8384915818083EAB00E7332D /* volume3Template.pdf */; };
178+
838F851E256B4E5E00C3E614 /* Sparkle.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 838F851D256B4E5E00C3E614 /* Sparkle.framework */; };
179+
838F851F256B4E8B00C3E614 /* Sparkle.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = 838F851D256B4E5E00C3E614 /* Sparkle.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
178180
83978E16285C58190076ED21 /* FirebaseCrashlytics in Frameworks */ = {isa = PBXBuildFile; productRef = 83978E15285C58190076ED21 /* FirebaseCrashlytics */; };
179181
83978E26285C596F0076ED21 /* FirebaseAnalytics in Frameworks */ = {isa = PBXBuildFile; productRef = 83978E25285C596F0076ED21 /* FirebaseAnalytics */; };
180182
83978E29285C5C0A0076ED21 /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 83978E28285C5C0A0076ED21 /* GoogleService-Info.plist */; };
@@ -748,6 +750,7 @@
748750
83B72E3B279045B7006007A3 /* libfdk-aac.2.dylib in CopyFiles */,
749751
8305963C277F013200EBFAAE /* File_Extractor.framework in CopyFiles */,
750752
ED69CBCA25BE32E80090B90D /* MASShortcut.framework in CopyFiles */,
753+
838F851F256B4E8B00C3E614 /* Sparkle.framework in CopyFiles */,
751754
17F561400C3BD4F30019975C /* CogAudio.framework in CopyFiles */,
752755
);
753756
runOnlyForDeploymentPostprocessing = 0;
@@ -1021,6 +1024,7 @@
10211024
8384915818083EAB00E7332D /* volume3Template.pdf */ = {isa = PBXFileReference; lastKnownFileType = image.pdf; name = volume3Template.pdf; path = Images/volume3Template.pdf; sourceTree = "<group>"; };
10221025
83859520234FEB35004E9946 /* Cog.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Cog.entitlements; sourceTree = "<group>"; };
10231026
838F84FF25687C5C00C3E614 /* Cog-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Cog-Bridging-Header.h"; sourceTree = "<group>"; };
1027+
838F851D256B4E5E00C3E614 /* Sparkle.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Sparkle.framework; path = ThirdParty/Frameworks/Sparkle.framework; sourceTree = "<group>"; };
10241028
83978E28285C5C0A0076ED21 /* GoogleService-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "GoogleService-Info.plist"; sourceTree = "<group>"; };
10251029
83988F0C27BE0A5900A0E89A /* RedundantPlaylistDataStore.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RedundantPlaylistDataStore.h; sourceTree = "<group>"; };
10261030
83988F0D27BE0A5900A0E89A /* RedundantPlaylistDataStore.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RedundantPlaylistDataStore.m; sourceTree = "<group>"; };
@@ -1105,6 +1109,7 @@
11051109
83978E26285C596F0076ED21 /* FirebaseAnalytics in Frameworks */,
11061110
17BB5CF90B8A86350009ACB1 /* AudioUnit.framework in Frameworks */,
11071111
17BB5CFA0B8A86350009ACB1 /* CoreAudio.framework in Frameworks */,
1112+
838F851E256B4E5E00C3E614 /* Sparkle.framework in Frameworks */,
11081113
17BB5CFB0B8A86350009ACB1 /* CoreAudioKit.framework in Frameworks */,
11091114
83978E16285C58190076ED21 /* FirebaseCrashlytics in Frameworks */,
11101115
17BB5EA60B8A87850009ACB1 /* IOKit.framework in Frameworks */,
@@ -1148,6 +1153,7 @@
11481153
isa = PBXGroup;
11491154
children = (
11501155
ED69CBB825BE328C0090B90D /* MASShortcut.xcodeproj */,
1156+
838F851D256B4E5E00C3E614 /* Sparkle.framework */,
11511157
17F5612A0C3BD4DC0019975C /* CogAudio.xcodeproj */,
11521158
1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */,
11531159
);
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Versions/Current/Autoupdate
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Versions/Current/Headers
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Versions/Current/Modules
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Versions/Current/PrivateHeaders
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Versions/Current/Resources
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Versions/Current/Sparkle

0 commit comments

Comments
 (0)