Skip to content
This repository was archived by the owner on Jun 26, 2023. It is now read-only.

Commit d614fda

Browse files
committed
Sparkle
1 parent 2a20e3f commit d614fda

File tree

10 files changed

+331
-43
lines changed

10 files changed

+331
-43
lines changed

Dynamic Dark Mode.xcodeproj/project.pbxproj

Lines changed: 140 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
archiveVersion = 1;
44
classes = {
55
};
6-
objectVersion = 51;
6+
objectVersion = 52;
77
objects = {
88

99
/* Begin PBXBuildFile section */
@@ -47,6 +47,8 @@
4747
706D395D20E377E40079535E /* Localizations.swift in Sources */ = {isa = PBXBuildFile; fileRef = 706D395B20E377E40079535E /* Localizations.swift */; };
4848
707CC24622FAC3EF002210ED /* DynamicDesktopSettingsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 707CC24522FAC3EF002210ED /* DynamicDesktopSettingsViewController.swift */; };
4949
87B3CD5A08DDE27B12711519 /* libPods-DynamicLauncher.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 6156D554666DD1DDB736ADB1 /* libPods-DynamicLauncher.a */; };
50+
D2BAC963232790D700E56B86 /* main.swift in Sources */ = {isa = PBXBuildFile; fileRef = D2BAC962232790D700E56B86 /* main.swift */; };
51+
D2BAC9692327932C00E56B86 /* XMLCoder in Frameworks */ = {isa = PBXBuildFile; productRef = D2BAC9682327932C00E56B86 /* XMLCoder */; };
5052
/* End PBXBuildFile section */
5153

5254
/* Begin PBXCopyFilesBuildPhase section */
@@ -61,6 +63,15 @@
6163
name = "Copy Files";
6264
runOnlyForDeploymentPostprocessing = 0;
6365
};
66+
D2BAC95E232790D700E56B86 /* CopyFiles */ = {
67+
isa = PBXCopyFilesBuildPhase;
68+
buildActionMask = 2147483647;
69+
dstPath = /usr/share/man/man1/;
70+
dstSubfolderSpec = 0;
71+
files = (
72+
);
73+
runOnlyForDeploymentPostprocessing = 1;
74+
};
6475
/* End PBXCopyFilesBuildPhase section */
6576

6677
/* Begin PBXFileReference section */
@@ -154,6 +165,9 @@
154165
9F77608674EF20F406DEA0E4 /* Pods-Dynamic Dark Mode.release masless.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Dynamic Dark Mode.release masless.xcconfig"; path = "Target Support Files/Pods-Dynamic Dark Mode/Pods-Dynamic Dark Mode.release masless.xcconfig"; sourceTree = "<group>"; };
155166
AC0EC2A58FD0F8F43B582EAC /* Pods-DynamicLauncher.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-DynamicLauncher.debug.xcconfig"; path = "Target Support Files/Pods-DynamicLauncher/Pods-DynamicLauncher.debug.xcconfig"; sourceTree = "<group>"; };
156167
CFCD4183FA91D594A9622C59 /* libPods-Dynamic Dark Mode.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Dynamic Dark Mode.a"; sourceTree = BUILT_PRODUCTS_DIR; };
168+
D2BAC95B2326C02900E56B86 /* appcast.xml */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = appcast.xml; sourceTree = "<group>"; };
169+
D2BAC960232790D700E56B86 /* Tools */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = Tools; sourceTree = BUILT_PRODUCTS_DIR; };
170+
D2BAC962232790D700E56B86 /* main.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = main.swift; sourceTree = "<group>"; };
157171
D838555BDD4861F157AE9DE6 /* Pods-DynamicLauncher.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-DynamicLauncher.release.xcconfig"; path = "Target Support Files/Pods-DynamicLauncher/Pods-DynamicLauncher.release.xcconfig"; sourceTree = "<group>"; };
158172
ED6A51F921772F27004DEFEA /* fr */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = fr; path = fr.lproj/Main.strings; sourceTree = "<group>"; };
159173
ED6A51FB21772F28004DEFEA /* fr */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = fr; path = fr.lproj/Localizable.strings; sourceTree = "<group>"; };
@@ -180,6 +194,14 @@
180194
);
181195
runOnlyForDeploymentPostprocessing = 0;
182196
};
197+
D2BAC95D232790D700E56B86 /* Frameworks */ = {
198+
isa = PBXFrameworksBuildPhase;
199+
buildActionMask = 2147483647;
200+
files = (
201+
D2BAC9692327932C00E56B86 /* XMLCoder in Frameworks */,
202+
);
203+
runOnlyForDeploymentPostprocessing = 0;
204+
};
183205
/* End PBXFrameworksBuildPhase section */
184206

185207
/* Begin PBXGroup section */
@@ -211,10 +233,12 @@
211233
523718332157467A00AEC921 /* README.md */,
212234
523718342157468900AEC921 /* privacy.md */,
213235
52C88EF82160678A003AF0B2 /* CHANGELOG.md */,
236+
D2BAC95B2326C02900E56B86 /* appcast.xml */,
214237
52C88EF9216067A7003AF0B2 /* CODE_OF_CONDUCT.md */,
215238
523718352157469800AEC921 /* LICENSE */,
216239
52168FBA20C8B47100869A9C /* Dynamic */,
217240
52C3511920CC57B60073F0CA /* DynamicLauncher */,
241+
D2BAC961232790D700E56B86 /* Tools */,
218242
52168FB920C8B47100869A9C /* Products */,
219243
52168FDA20C9F87000869A9C /* Frameworks */,
220244
F34DBA40529B714E31832529 /* Pods */,
@@ -226,6 +250,7 @@
226250
children = (
227251
52168FB820C8B47100869A9C /* Dynamic Dark Mode.app */,
228252
52C3511820CC57B60073F0CA /* DynamicLauncher.app */,
253+
D2BAC960232790D700E56B86 /* Tools */,
229254
);
230255
name = Products;
231256
sourceTree = "<group>";
@@ -355,6 +380,14 @@
355380
path = "Access Points";
356381
sourceTree = "<group>";
357382
};
383+
D2BAC961232790D700E56B86 /* Tools */ = {
384+
isa = PBXGroup;
385+
children = (
386+
D2BAC962232790D700E56B86 /* main.swift */,
387+
);
388+
path = Tools;
389+
sourceTree = "<group>";
390+
};
358391
F34DBA40529B714E31832529 /* Pods */ = {
359392
isa = PBXGroup;
360393
children = (
@@ -383,6 +416,7 @@
383416
52168FB620C8B47100869A9C /* Resources */,
384417
5237AE5220CCC084009CF037 /* Copy Files */,
385418
589F8C922A5F4E3DC20A2060 /* [CP] Copy Pods Resources */,
419+
93713264CD55F9F7A90BEFF1 /* [CP] Embed Pods Frameworks */,
386420
);
387421
buildRules = (
388422
);
@@ -411,13 +445,33 @@
411445
productReference = 52C3511820CC57B60073F0CA /* DynamicLauncher.app */;
412446
productType = "com.apple.product-type.application";
413447
};
448+
D2BAC95F232790D700E56B86 /* Tools */ = {
449+
isa = PBXNativeTarget;
450+
buildConfigurationList = D2BAC964232790D700E56B86 /* Build configuration list for PBXNativeTarget "Tools" */;
451+
buildPhases = (
452+
D2BAC95C232790D700E56B86 /* Sources */,
453+
D2BAC95D232790D700E56B86 /* Frameworks */,
454+
D2BAC95E232790D700E56B86 /* CopyFiles */,
455+
);
456+
buildRules = (
457+
);
458+
dependencies = (
459+
);
460+
name = Tools;
461+
packageProductDependencies = (
462+
D2BAC9682327932C00E56B86 /* XMLCoder */,
463+
);
464+
productName = Tools;
465+
productReference = D2BAC960232790D700E56B86 /* Tools */;
466+
productType = "com.apple.product-type.tool";
467+
};
414468
/* End PBXNativeTarget section */
415469

416470
/* Begin PBXProject section */
417471
52168FB020C8B47100869A9C /* Project object */ = {
418472
isa = PBXProject;
419473
attributes = {
420-
LastSwiftUpdateCheck = 1000;
474+
LastSwiftUpdateCheck = 1100;
421475
LastUpgradeCheck = 1000;
422476
ORGANIZATIONNAME = "Dynamic Dark Mode";
423477
TargetAttributes = {
@@ -447,6 +501,9 @@
447501
};
448502
};
449503
};
504+
D2BAC95F232790D700E56B86 = {
505+
CreatedOnToolsVersion = 11.0;
506+
};
450507
};
451508
};
452509
buildConfigurationList = 52168FB320C8B47100869A9C /* Build configuration list for PBXProject "Dynamic Dark Mode" */;
@@ -466,12 +523,16 @@
466523
ko,
467524
);
468525
mainGroup = 52168FAF20C8B47100869A9C;
526+
packageReferences = (
527+
D2BAC9672327932C00E56B86 /* XCRemoteSwiftPackageReference "XMLCoder" */,
528+
);
469529
productRefGroup = 52168FB920C8B47100869A9C /* Products */;
470530
projectDirPath = "";
471531
projectRoot = "";
472532
targets = (
473533
52168FB720C8B47100869A9C /* Dynamic Dark Mode */,
474534
52C3511720CC57B60073F0CA /* DynamicLauncher */,
535+
D2BAC95F232790D700E56B86 /* Tools */,
475536
);
476537
};
477538
/* End PBXProject section */
@@ -541,6 +602,23 @@
541602
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Dynamic Dark Mode/Pods-Dynamic Dark Mode-resources.sh\"\n";
542603
showEnvVarsInLog = 0;
543604
};
605+
93713264CD55F9F7A90BEFF1 /* [CP] Embed Pods Frameworks */ = {
606+
isa = PBXShellScriptBuildPhase;
607+
buildActionMask = 2147483647;
608+
files = (
609+
);
610+
inputFileListPaths = (
611+
"${PODS_ROOT}/Target Support Files/Pods-Dynamic Dark Mode/Pods-Dynamic Dark Mode-frameworks-${CONFIGURATION}-input-files.xcfilelist",
612+
);
613+
name = "[CP] Embed Pods Frameworks";
614+
outputFileListPaths = (
615+
"${PODS_ROOT}/Target Support Files/Pods-Dynamic Dark Mode/Pods-Dynamic Dark Mode-frameworks-${CONFIGURATION}-output-files.xcfilelist",
616+
);
617+
runOnlyForDeploymentPostprocessing = 0;
618+
shellPath = /bin/sh;
619+
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Dynamic Dark Mode/Pods-Dynamic Dark Mode-frameworks.sh\"\n";
620+
showEnvVarsInLog = 0;
621+
};
544622
E8FB4AC62B768B005584C068 /* [CP] Check Pods Manifest.lock */ = {
545623
isa = PBXShellScriptBuildPhase;
546624
buildActionMask = 2147483647;
@@ -608,6 +686,14 @@
608686
);
609687
runOnlyForDeploymentPostprocessing = 0;
610688
};
689+
D2BAC95C232790D700E56B86 /* Sources */ = {
690+
isa = PBXSourcesBuildPhase;
691+
buildActionMask = 2147483647;
692+
files = (
693+
D2BAC963232790D700E56B86 /* main.swift in Sources */,
694+
);
695+
runOnlyForDeploymentPostprocessing = 0;
696+
};
611697
/* End PBXSourcesBuildPhase section */
612698

613699
/* Begin PBXVariantGroup section */
@@ -747,7 +833,7 @@
747833
SDKROOT = macosx;
748834
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
749835
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
750-
VERSION = 1.4.0;
836+
VERSION = 1.3.9;
751837
};
752838
name = Debug;
753839
};
@@ -802,7 +888,7 @@
802888
SDKROOT = macosx;
803889
SWIFT_COMPILATION_MODE = wholemodule;
804890
SWIFT_OPTIMIZATION_LEVEL = "-O";
805-
VERSION = 1.4.0;
891+
VERSION = 1.3.9;
806892
};
807893
name = Release;
808894
};
@@ -910,6 +996,28 @@
910996
};
911997
name = Release;
912998
};
999+
D2BAC965232790D700E56B86 /* Debug */ = {
1000+
isa = XCBuildConfiguration;
1001+
buildSettings = {
1002+
CODE_SIGN_STYLE = Automatic;
1003+
MACOSX_DEPLOYMENT_TARGET = 10.14;
1004+
MTL_FAST_MATH = YES;
1005+
PRODUCT_NAME = "$(TARGET_NAME)";
1006+
SWIFT_VERSION = 5.0;
1007+
};
1008+
name = Debug;
1009+
};
1010+
D2BAC966232790D700E56B86 /* Release */ = {
1011+
isa = XCBuildConfiguration;
1012+
buildSettings = {
1013+
CODE_SIGN_STYLE = Automatic;
1014+
MACOSX_DEPLOYMENT_TARGET = 10.14;
1015+
MTL_FAST_MATH = YES;
1016+
PRODUCT_NAME = "$(TARGET_NAME)";
1017+
SWIFT_VERSION = 5.0;
1018+
};
1019+
name = Release;
1020+
};
9131021
/* End XCBuildConfiguration section */
9141022

9151023
/* Begin XCConfigurationList section */
@@ -940,7 +1048,35 @@
9401048
defaultConfigurationIsVisible = 0;
9411049
defaultConfigurationName = Release;
9421050
};
1051+
D2BAC964232790D700E56B86 /* Build configuration list for PBXNativeTarget "Tools" */ = {
1052+
isa = XCConfigurationList;
1053+
buildConfigurations = (
1054+
D2BAC965232790D700E56B86 /* Debug */,
1055+
D2BAC966232790D700E56B86 /* Release */,
1056+
);
1057+
defaultConfigurationIsVisible = 0;
1058+
defaultConfigurationName = Release;
1059+
};
9431060
/* End XCConfigurationList section */
1061+
1062+
/* Begin XCRemoteSwiftPackageReference section */
1063+
D2BAC9672327932C00E56B86 /* XCRemoteSwiftPackageReference "XMLCoder" */ = {
1064+
isa = XCRemoteSwiftPackageReference;
1065+
repositoryURL = "https://github.com/MaxDesiatov/XMLCoder.git";
1066+
requirement = {
1067+
kind = upToNextMajorVersion;
1068+
minimumVersion = 0.8.0;
1069+
};
1070+
};
1071+
/* End XCRemoteSwiftPackageReference section */
1072+
1073+
/* Begin XCSwiftPackageProductDependency section */
1074+
D2BAC9682327932C00E56B86 /* XMLCoder */ = {
1075+
isa = XCSwiftPackageProductDependency;
1076+
package = D2BAC9672327932C00E56B86 /* XCRemoteSwiftPackageReference "XMLCoder" */;
1077+
productName = XMLCoder;
1078+
};
1079+
/* End XCSwiftPackageProductDependency section */
9441080
};
9451081
rootObject = 52168FB020C8B47100869A9C /* Project object */;
9461082
}

Dynamic Dark Mode.xcworkspace/xcshareddata/swiftpm/Package.resolved

Lines changed: 16 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Dynamic/Supporting Files/Assets.xcassets/status_bar_icon.imageset/Contents.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,17 @@
3636
"idiom" : "universal",
3737
"filename" : "outline_wb_sunny_black_18pt_3x.png",
3838
"scale" : "3x"
39+
},
40+
{
41+
"idiom" : "universal",
42+
"filename" : "baseline_brightness_2_black_18pt_3x.png",
43+
"appearances" : [
44+
{
45+
"appearance" : "luminosity",
46+
"value" : "dark"
47+
}
48+
],
49+
"scale" : "3x"
3950
}
4051
],
4152
"info" : {

Dynamic/Supporting Files/Info.plist

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,11 @@
3838
<string>Main</string>
3939
<key>NSPrincipalClass</key>
4040
<string>NSApplication</string>
41+
<key>SUEnableAutomaticChecks</key>
42+
<true/>
43+
<key>SUFeedURL</key>
44+
<string>https://apollozhu.github.io/Dynamic-Dark-Mode/appcast.xml</string>
45+
<key>SUPublicEDKey</key>
46+
<string>zM1yWGw3lamVzX/q4ByZu05CrxU8YDil3Cslo/uN7J8=</string>
4147
</dict>
4248
</plist>

0 commit comments

Comments
 (0)