Skip to content

Commit 457fa94

Browse files
committed
Ready to autoupdates
1 parent 69e8e6e commit 457fa94

File tree

186 files changed

+1549
-4
lines changed

Some content is hidden

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

186 files changed

+1549
-4
lines changed

MTMR.xcodeproj/project.pbxproj

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@
2929
60C44AFD20A373A100C0EC91 /* MusicBarItem.swift in Sources */ = {isa = PBXBuildFile; fileRef = 60C44AFC20A373A100C0EC91 /* MusicBarItem.swift */; };
3030
60F7D454208CC31400ABF5D2 /* InputSourceBarItem.swift in Sources */ = {isa = PBXBuildFile; fileRef = 60F7D453208CC31400ABF5D2 /* InputSourceBarItem.swift */; };
3131
B0008E552080286C003AD4DD /* SupportHelpers.swift in Sources */ = {isa = PBXBuildFile; fileRef = B0008E542080286C003AD4DD /* SupportHelpers.swift */; };
32+
B00D181D2152F4A5000806F4 /* Sparkle.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B00D181C2152F4A5000806F4 /* Sparkle.framework */; };
33+
B00D181F2152F521000806F4 /* Sparkle.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = B00D181C2152F4A5000806F4 /* Sparkle.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
3234
B04B7BB72087398C00C835D0 /* BatteryBarItem.swift in Sources */ = {isa = PBXBuildFile; fileRef = B04B7BB62087398C00C835D0 /* BatteryBarItem.swift */; };
3335
B05600D32083E9BB00EB218D /* CustomSlider.swift in Sources */ = {isa = PBXBuildFile; fileRef = B05600D22083E9BB00EB218D /* CustomSlider.swift */; };
3436
B059D622205E03F5006E6B86 /* TouchBarController.swift in Sources */ = {isa = PBXBuildFile; fileRef = B059D621205E03F5006E6B86 /* TouchBarController.swift */; };
@@ -57,6 +59,19 @@
5759
B0F8771A207AC1EA00D6E430 /* TouchBarSupport.m in Sources */ = {isa = PBXBuildFile; fileRef = B0F87719207AC1EA00D6E430 /* TouchBarSupport.m */; };
5860
/* End PBXBuildFile section */
5961

62+
/* Begin PBXCopyFilesBuildPhase section */
63+
B00D181E2152F507000806F4 /* CopyFiles */ = {
64+
isa = PBXCopyFilesBuildPhase;
65+
buildActionMask = 12;
66+
dstPath = "";
67+
dstSubfolderSpec = 10;
68+
files = (
69+
B00D181F2152F521000806F4 /* Sparkle.framework in CopyFiles */,
70+
);
71+
runOnlyForDeploymentPostprocessing = 0;
72+
};
73+
/* End PBXCopyFilesBuildPhase section */
74+
6075
/* Begin PBXFileReference section */
6176
36300E85209FD16700B31C71 /* .travis.yml */ = {isa = PBXFileReference; lastKnownFileType = text; path = .travis.yml; sourceTree = SOURCE_ROOT; };
6277
36300E8E20A2CF3400B31C71 /* AppleScriptDefinitionTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppleScriptDefinitionTests.swift; sourceTree = "<group>"; };
@@ -83,6 +98,7 @@
8398
60C44AFC20A373A100C0EC91 /* MusicBarItem.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MusicBarItem.swift; sourceTree = "<group>"; };
8499
60F7D453208CC31400ABF5D2 /* InputSourceBarItem.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = InputSourceBarItem.swift; sourceTree = "<group>"; };
85100
B0008E542080286C003AD4DD /* SupportHelpers.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SupportHelpers.swift; sourceTree = "<group>"; };
101+
B00D181C2152F4A5000806F4 /* Sparkle.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = Sparkle.framework; sourceTree = "<group>"; };
86102
B04B7BB62087398C00C835D0 /* BatteryBarItem.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BatteryBarItem.swift; sourceTree = "<group>"; };
87103
B05600D22083E9BB00EB218D /* CustomSlider.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CustomSlider.swift; sourceTree = "<group>"; };
88104
B059D621205E03F5006E6B86 /* TouchBarController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TouchBarController.swift; sourceTree = "<group>"; };
@@ -128,6 +144,7 @@
128144
B081732A2135F354005D4908 /* CoreBrightness.framework in Frameworks */,
129145
B059D62D205F11E8006E6B86 /* DFRFoundation.framework in Frameworks */,
130146
B09EB1E6207C0F8E00D5C1E0 /* MultitouchSupport.framework in Frameworks */,
147+
B00D181D2152F4A5000806F4 /* Sparkle.framework in Frameworks */,
131148
);
132149
runOnlyForDeploymentPostprocessing = 0;
133150
};
@@ -144,6 +161,7 @@
144161
B059D62B205F11E8006E6B86 /* Frameworks */ = {
145162
isa = PBXGroup;
146163
children = (
164+
B00D181C2152F4A5000806F4 /* Sparkle.framework */,
147165
B08173292135F354005D4908 /* CoreBrightness.framework */,
148166
B09EB1E5207C0F8E00D5C1E0 /* MultitouchSupport.framework */,
149167
B059D62C205F11E8006E6B86 /* DFRFoundation.framework */,
@@ -273,6 +291,7 @@
273291
B082B24B205C7D8000BC04DC /* Sources */,
274292
B082B24C205C7D8000BC04DC /* Frameworks */,
275293
B082B24D205C7D8000BC04DC /* Resources */,
294+
B00D181E2152F507000806F4 /* CopyFiles */,
276295
);
277296
buildRules = (
278297
);
@@ -552,9 +571,10 @@
552571
FRAMEWORK_SEARCH_PATHS = (
553572
"$(inherited)",
554573
"$(SYSTEM_LIBRARY_DIR)/PrivateFrameworks",
574+
"$(PROJECT_DIR)",
555575
);
556576
INFOPLIST_FILE = MTMR/Info.plist;
557-
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
577+
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks";
558578
PRODUCT_BUNDLE_IDENTIFIER = Toxblh.MTMR;
559579
PRODUCT_NAME = "$(TARGET_NAME)";
560580
PROVISIONING_PROFILE_SPECIFIER = "";
@@ -573,9 +593,10 @@
573593
FRAMEWORK_SEARCH_PATHS = (
574594
"$(inherited)",
575595
"$(SYSTEM_LIBRARY_DIR)/PrivateFrameworks",
596+
"$(PROJECT_DIR)",
576597
);
577598
INFOPLIST_FILE = MTMR/Info.plist;
578-
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
599+
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks";
579600
PRODUCT_BUNDLE_IDENTIFIER = Toxblh.MTMR;
580601
PRODUCT_NAME = "$(TARGET_NAME)";
581602
PROVISIONING_PROFILE_SPECIFIER = "";

MTMR/Base.lproj/Main.storyboard

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<document type="com.apple.InterfaceBuilder3.Cocoa.Storyboard.XIB" version="3.0" toolsVersion="13771" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
2+
<document type="com.apple.InterfaceBuilder3.Cocoa.Storyboard.XIB" version="3.0" toolsVersion="14313.18" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
33
<dependencies>
44
<deployment identifier="macosx"/>
5-
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="13771"/>
5+
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="14313.18"/>
66
</dependencies>
77
<scenes>
88
<!--Application-->
@@ -676,6 +676,7 @@
676676
</application>
677677
<customObject id="Voe-Tx-rLC" customClass="AppDelegate" customModule="MTMR" customModuleProvider="target"/>
678678
<customObject id="YLy-65-1bz" customClass="NSFontManager"/>
679+
<customObject id="VW7-73-dHf" customClass="SUUpdater"/>
679680
<customObject id="Ady-hI-5gd" userLabel="First Responder" customClass="NSResponder" sceneMemberID="firstResponder"/>
680681
</objects>
681682
<point key="canvasLocation" x="75" y="0.0"/>

MTMR/Info.plist

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,7 @@
3636
<string>Main</string>
3737
<key>NSPrincipalClass</key>
3838
<string>NSApplication</string>
39+
<key>SUFeedURL</key>
40+
<string>https://mtmr.app/appcast.xml</string>
3941
</dict>
4042
</plist>

Sparkle.framework/Headers

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Versions/Current/Headers

Sparkle.framework/Modules

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Versions/Current/Modules

Sparkle.framework/PrivateHeaders

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Versions/Current/PrivateHeaders

Sparkle.framework/Resources

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Versions/Current/Resources

Sparkle.framework/Sparkle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Versions/Current/Sparkle
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
//
2+
// SPUDownloadData.h
3+
// Sparkle
4+
//
5+
// Created by Mayur Pawashe on 8/10/16.
6+
// Copyright © 2016 Sparkle Project. All rights reserved.
7+
//
8+
9+
#if __has_feature(modules)
10+
@import Foundation;
11+
#else
12+
#import <Foundation/Foundation.h>
13+
#endif
14+
15+
#import "SUExport.h"
16+
17+
NS_ASSUME_NONNULL_BEGIN
18+
19+
/*!
20+
* A class for containing downloaded data along with some information about it.
21+
*/
22+
SU_EXPORT @interface SPUDownloadData : NSObject <NSSecureCoding>
23+
24+
- (instancetype)initWithData:(NSData *)data textEncodingName:(NSString * _Nullable)textEncodingName MIMEType:(NSString * _Nullable)MIMEType;
25+
26+
/*!
27+
* The raw data that was downloaded.
28+
*/
29+
@property (nonatomic, readonly) NSData *data;
30+
31+
/*!
32+
* The IANA charset encoding name if available. Eg: "utf-8"
33+
*/
34+
@property (nonatomic, readonly, nullable, copy) NSString *textEncodingName;
35+
36+
/*!
37+
* The MIME type if available. Eg: "text/plain"
38+
*/
39+
@property (nonatomic, readonly, nullable, copy) NSString *MIMEType;
40+
41+
@end
42+
43+
NS_ASSUME_NONNULL_END
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
//
2+
// SPUDownloader.h
3+
// Downloader
4+
//
5+
// Created by Mayur Pawashe on 4/1/16.
6+
// Copyright © 2016 Sparkle Project. All rights reserved.
7+
//
8+
9+
#if __has_feature(modules)
10+
@import Foundation;
11+
#else
12+
#import <Foundation/Foundation.h>
13+
#endif
14+
#import "SPUDownloaderProtocol.h"
15+
16+
@protocol SPUDownloaderDelegate;
17+
18+
// 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.
19+
@interface SPUDownloader : NSObject <SPUDownloaderProtocol>
20+
21+
// Due to XPC remote object reasons, this delegate is strongly referenced
22+
// Invoke cleanup when done with this instance
23+
- (instancetype)initWithDelegate:(id <SPUDownloaderDelegate>)delegate;
24+
25+
@end

0 commit comments

Comments
 (0)