Skip to content

Commit 195546e

Browse files
committed
Removing the GitHub updater - Does not work with the app sandbox.
1 parent 16fc178 commit 195546e

File tree

5 files changed

+1
-91
lines changed

5 files changed

+1
-91
lines changed

.gitmodules

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
11
[submodule "Submodules/xcconfig"]
22
path = Submodules/xcconfig
33
url = https://github.com/DigiDNA/xcconfig.git
4-
[submodule "Submodules/GitHubUpdates"]
5-
path = Submodules/GitHubUpdates
6-
url = https://github.com/macmade/GitHubUpdates.git

ColorSet.xcodeproj/project.pbxproj

Lines changed: 0 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
objects = {
88

99
/* Begin PBXBuildFile section */
10-
0509121520E55A7F009EF90C /* GitHubUpdates.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0509120F20E55A6A009EF90C /* GitHubUpdates.framework */; };
11-
0509121720E55A93009EF90C /* GitHubUpdates.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = 0509120F20E55A6A009EF90C /* GitHubUpdates.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
1210
0530C41F20E10FEA00F5B259 /* ArrayIsEmpty.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0530C41E20E10FEA00F5B259 /* ArrayIsEmpty.swift */; };
1311
0530C42120E1112C00F5B259 /* ArrayIsNotEmpty.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0530C42020E1112C00F5B259 /* ArrayIsNotEmpty.swift */; };
1412
0530C42320E1213500F5B259 /* NSView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0530C42220E1213500F5B259 /* NSView.swift */; };
@@ -58,27 +56,6 @@
5856
/* End PBXBuildFile section */
5957

6058
/* Begin PBXContainerItemProxy section */
61-
0509120E20E55A6A009EF90C /* PBXContainerItemProxy */ = {
62-
isa = PBXContainerItemProxy;
63-
containerPortal = 0509120920E55A6A009EF90C /* GitHubUpdates.xcodeproj */;
64-
proxyType = 2;
65-
remoteGlobalIDString = 05F82B251EF32EA700EC8A93;
66-
remoteInfo = GitHubUpdates;
67-
};
68-
0509121020E55A6A009EF90C /* PBXContainerItemProxy */ = {
69-
isa = PBXContainerItemProxy;
70-
containerPortal = 0509120920E55A6A009EF90C /* GitHubUpdates.xcodeproj */;
71-
proxyType = 2;
72-
remoteGlobalIDString = 0555EBA01EF3DDA10016167F;
73-
remoteInfo = Relauncher;
74-
};
75-
0509121220E55A7B009EF90C /* PBXContainerItemProxy */ = {
76-
isa = PBXContainerItemProxy;
77-
containerPortal = 0509120920E55A6A009EF90C /* GitHubUpdates.xcodeproj */;
78-
proxyType = 1;
79-
remoteGlobalIDString = 05F82B241EF32EA700EC8A93;
80-
remoteInfo = GitHubUpdates;
81-
};
8259
0556FA082342101900EB91DB /* PBXContainerItemProxy */ = {
8360
isa = PBXContainerItemProxy;
8461
containerPortal = 0543AE5A20DC33BC00284E99 /* Project object */;
@@ -110,7 +87,6 @@
11087
dstSubfolderSpec = 10;
11188
files = (
11289
05CD4AC220ED7CD100DBDE99 /* ColorSetKit.framework in CopyFiles */,
113-
0509121720E55A93009EF90C /* GitHubUpdates.framework in CopyFiles */,
11490
);
11591
runOnlyForDeploymentPostprocessing = 0;
11692
};
@@ -168,7 +144,6 @@
168144
0509120520E559CF009EF90C /* .gitignore */ = {isa = PBXFileReference; lastKnownFileType = text; path = .gitignore; sourceTree = "<group>"; };
169145
0509120720E559CF009EF90C /* ccache-config.sh */ = {isa = PBXFileReference; lastKnownFileType = text.script.sh; path = "ccache-config.sh"; sourceTree = "<group>"; };
170146
0509120820E559CF009EF90C /* ccache.sh */ = {isa = PBXFileReference; lastKnownFileType = text.script.sh; path = ccache.sh; sourceTree = "<group>"; };
171-
0509120920E55A6A009EF90C /* GitHubUpdates.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = GitHubUpdates.xcodeproj; path = Submodules/GitHubUpdates/GitHubUpdates.xcodeproj; sourceTree = "<group>"; };
172147
0530C41E20E10FEA00F5B259 /* ArrayIsEmpty.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ArrayIsEmpty.swift; sourceTree = "<group>"; };
173148
0530C42020E1112C00F5B259 /* ArrayIsNotEmpty.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ArrayIsNotEmpty.swift; sourceTree = "<group>"; };
174149
0530C42220E1213500F5B259 /* NSView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NSView.swift; sourceTree = "<group>"; };
@@ -231,7 +206,6 @@
231206
buildActionMask = 2147483647;
232207
files = (
233208
05CD4AC120ED7CD100DBDE99 /* ColorSetKit.framework in Frameworks */,
234-
0509121520E55A7F009EF90C /* GitHubUpdates.framework in Frameworks */,
235209
);
236210
runOnlyForDeploymentPostprocessing = 0;
237211
};
@@ -374,15 +348,6 @@
374348
path = Scripts;
375349
sourceTree = "<group>";
376350
};
377-
0509120A20E55A6A009EF90C /* Products */ = {
378-
isa = PBXGroup;
379-
children = (
380-
0509120F20E55A6A009EF90C /* GitHubUpdates.framework */,
381-
0509121120E55A6A009EF90C /* Relauncher */,
382-
);
383-
name = Products;
384-
sourceTree = "<group>";
385-
};
386351
0509121420E55A7F009EF90C /* Frameworks */ = {
387352
isa = PBXGroup;
388353
children = (
@@ -408,7 +373,6 @@
408373
isa = PBXGroup;
409374
children = (
410375
05CD4AB220ED7B2200DBDE99 /* README.md */,
411-
0509120920E55A6A009EF90C /* GitHubUpdates.xcodeproj */,
412376
050911D720E559CF009EF90C /* xcconfig */,
413377
0543AE6420DC33BC00284E99 /* ColorSet */,
414378
0509122720E55CB5009EF90C /* ColorSetKit */,
@@ -551,7 +515,6 @@
551515
buildRules = (
552516
);
553517
dependencies = (
554-
0509121320E55A7B009EF90C /* PBXTargetDependency */,
555518
05CD4AC020ED7CD100DBDE99 /* PBXTargetDependency */,
556519
);
557520
name = ColorSet;
@@ -656,12 +619,6 @@
656619
mainGroup = 0543AE5920DC33BC00284E99;
657620
productRefGroup = 0543AE6320DC33BC00284E99 /* Products */;
658621
projectDirPath = "";
659-
projectReferences = (
660-
{
661-
ProductGroup = 0509120A20E55A6A009EF90C /* Products */;
662-
ProjectRef = 0509120920E55A6A009EF90C /* GitHubUpdates.xcodeproj */;
663-
},
664-
);
665622
projectRoot = "";
666623
targets = (
667624
0543AE6120DC33BC00284E99 /* ColorSet */,
@@ -672,23 +629,6 @@
672629
};
673630
/* End PBXProject section */
674631

675-
/* Begin PBXReferenceProxy section */
676-
0509120F20E55A6A009EF90C /* GitHubUpdates.framework */ = {
677-
isa = PBXReferenceProxy;
678-
fileType = wrapper.framework;
679-
path = GitHubUpdates.framework;
680-
remoteRef = 0509120E20E55A6A009EF90C /* PBXContainerItemProxy */;
681-
sourceTree = BUILT_PRODUCTS_DIR;
682-
};
683-
0509121120E55A6A009EF90C /* Relauncher */ = {
684-
isa = PBXReferenceProxy;
685-
fileType = "compiled.mach-o.executable";
686-
path = Relauncher;
687-
remoteRef = 0509121020E55A6A009EF90C /* PBXContainerItemProxy */;
688-
sourceTree = BUILT_PRODUCTS_DIR;
689-
};
690-
/* End PBXReferenceProxy section */
691-
692632
/* Begin PBXResourcesBuildPhase section */
693633
0543AE6020DC33BC00284E99 /* Resources */ = {
694634
isa = PBXResourcesBuildPhase;
@@ -809,11 +749,6 @@
809749
/* End PBXSourcesBuildPhase section */
810750

811751
/* Begin PBXTargetDependency section */
812-
0509121320E55A7B009EF90C /* PBXTargetDependency */ = {
813-
isa = PBXTargetDependency;
814-
name = GitHubUpdates;
815-
targetProxy = 0509121220E55A7B009EF90C /* PBXContainerItemProxy */;
816-
};
817752
0556FA072342101900EB91DB /* PBXTargetDependency */ = {
818753
isa = PBXTargetDependency;
819754
target = 05CD4AB920ED7CD100DBDE99 /* ColorSetKit */;

ColorSet/Classes/ApplicationDelegate.swift

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,20 +23,16 @@
2323
******************************************************************************/
2424

2525
import Cocoa
26-
import GitHubUpdates
2726
import ColorSetKit
2827

2928
@NSApplicationMain
3029
class ApplicationDelegate: NSResponder, NSApplicationDelegate
3130
{
3231
private var controllers = [ NSWindowController ]()
3332
private var aboutWindowController: NSWindowController?
34-
@IBOutlet private var updater: GitHubUpdater?
3533

3634
func applicationDidFinishLaunching( _ notification: Notification )
3735
{
38-
self.updater?.checkForUpdatesInBackground()
39-
4036
DispatchQueue.main.asyncAfter( deadline: .now() + .milliseconds( 500 ) )
4137
{
4238
if self.controllers.count == 0

ColorSet/Interface/Base.lproj/MainMenu.xib

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,7 @@
1212
</customObject>
1313
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
1414
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
15-
<customObject id="Voe-Tx-rLC" customClass="ApplicationDelegate" customModule="ColorSet" customModuleProvider="target">
16-
<connections>
17-
<outlet property="updater" destination="Uwj-E6-Thg" id="dkK-9r-X26"/>
18-
</connections>
19-
</customObject>
15+
<customObject id="Voe-Tx-rLC" customClass="ApplicationDelegate" customModule="ColorSet" customModuleProvider="target"/>
2016
<customObject id="YLy-65-1bz" customClass="NSFontManager"/>
2117
<menu title="Main Menu" systemMenu="main" id="AYu-sK-qS6">
2218
<items>
@@ -33,13 +29,6 @@
3329
<menuItem isSeparatorItem="YES" id="VOq-y0-SEH"/>
3430
<menuItem title="Preferences…" keyEquivalent="," id="BOF-NM-1cW"/>
3531
<menuItem isSeparatorItem="YES" id="131-ZC-Tm0"/>
36-
<menuItem title="Check for Updates..." id="ulI-oZ-oZE">
37-
<modifierMask key="keyEquivalentModifierMask"/>
38-
<connections>
39-
<action selector="checkForUpdates:" target="Uwj-E6-Thg" id="VbG-tH-N46"/>
40-
</connections>
41-
</menuItem>
42-
<menuItem isSeparatorItem="YES" id="wFC-TO-SCJ"/>
4332
<menuItem title="Services" id="NMo-om-nkz">
4433
<modifierMask key="keyEquivalentModifierMask"/>
4534
<menu key="submenu" title="Services" systemMenu="services" id="hz9-B4-Xy5"/>
@@ -704,11 +693,5 @@
704693
</items>
705694
<point key="canvasLocation" x="139" y="-50"/>
706695
</menu>
707-
<customObject id="Uwj-E6-Thg" customClass="GitHubUpdater">
708-
<userDefinedRuntimeAttributes>
709-
<userDefinedRuntimeAttribute type="string" keyPath="user" value="DigiDNA"/>
710-
<userDefinedRuntimeAttribute type="string" keyPath="repository" value="ColorSet"/>
711-
</userDefinedRuntimeAttributes>
712-
</customObject>
713696
</objects>
714697
</document>

Submodules/GitHubUpdates

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)