Rewrite menu bar extra with AppKit

This commit is contained in:
世界
2026-01-05 19:19:11 +08:00
parent 91edd77b00
commit ce0d7ead88
17 changed files with 666 additions and 301 deletions
-17
View File
@@ -54,7 +54,6 @@
3AEECC3A2A6DFDC5006A0E0C /* MacLibrary.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AEECC2F2A6DFDAD006A0E0C /* MacLibrary.framework */; };
3AEECC412A6DFE29006A0E0C /* MacLibrary.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AEECC2F2A6DFDAD006A0E0C /* MacLibrary.framework */; };
3AEECC452A6DFE61006A0E0C /* ApplicationLibrary.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3A4EAD102A4FEAE6005435B3 /* ApplicationLibrary.framework */; };
3AEECC4E2A6DFF13006A0E0C /* MacControlCenterUI in Frameworks */ = {isa = PBXBuildFile; productRef = 3AEECC4D2A6DFF13006A0E0C /* MacControlCenterUI */; };
3AF3A3D22B2207F3001FD7C1 /* libresolv.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AF3A3D12B2207E1001FD7C1 /* libresolv.tbd */; };
3AFE19402EF5677100F61E06 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AC72A302EED94F60039DEA4 /* SystemConfiguration.framework */; };
9C37F17D2C131100001B9FA8 /* Localizable.xcstrings in Resources */ = {isa = PBXBuildFile; fileRef = 9C37F17C2C131100001B9FA8 /* Localizable.xcstrings */; };
@@ -730,7 +729,6 @@
buildActionMask = 2147483647;
files = (
3AEECC452A6DFE61006A0E0C /* ApplicationLibrary.framework in Frameworks */,
3AEECC4E2A6DFF13006A0E0C /* MacControlCenterUI in Frameworks */,
3ACE5E032EE1A91300644196 /* CodeEditSourceEditor in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
@@ -1159,7 +1157,6 @@
);
name = MacLibrary;
packageProductDependencies = (
3AEECC4D2A6DFF13006A0E0C /* MacControlCenterUI */,
3ACE5E022EE1A91200644196 /* CodeEditSourceEditor */,
);
productName = MacLibrary;
@@ -1237,7 +1234,6 @@
packageReferences = (
3A7E90362A46778E00D53052 /* XCRemoteSwiftPackageReference "BinaryCodable" */,
3A017F902A4AB2E4009149FA /* XCRemoteSwiftPackageReference "GRDB" */,
3A57DF3A2A4D705000690BC5 /* XCRemoteSwiftPackageReference "MacControlCenterUI" */,
3A4A020B2B53E3DC004EFB87 /* XCRemoteSwiftPackageReference "qrcode" */,
3A2E87F02ED5A91100644195 /* XCLocalSwiftPackageReference "Frameworks/Runestone" */,
3A2E87F92ED5ABCF00644195 /* XCLocalSwiftPackageReference "Frameworks/TreeSitterJSON5" */,
@@ -3002,14 +2998,6 @@
minimumVersion = 17.0.0;
};
};
3A57DF3A2A4D705000690BC5 /* XCRemoteSwiftPackageReference "MacControlCenterUI" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/orchetect/MacControlCenterUI";
requirement = {
kind = upToNextMajorVersion;
minimumVersion = 2.0.7;
};
};
3A7E90362A46778E00D53052 /* XCRemoteSwiftPackageReference "BinaryCodable" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/christophhagen/BinaryCodable";
@@ -3059,11 +3047,6 @@
package = 3ACE5E012EE1A91100644196 /* XCRemoteSwiftPackageReference "CodeEditSourceEditor" */;
productName = CodeEditSourceEditor;
};
3AEECC4D2A6DFF13006A0E0C /* MacControlCenterUI */ = {
isa = XCSwiftPackageProductDependency;
package = 3A57DF3A2A4D705000690BC5 /* XCRemoteSwiftPackageReference "MacControlCenterUI" */;
productName = MacControlCenterUI;
};
/* End XCSwiftPackageProductDependency section */
};
rootObject = 3AEC20BD2A45991900A63465 /* Project object */;
@@ -1,5 +1,5 @@
{
"originHash" : "e52954b983309896985fa80fd8b8c5705fce23b28f9e149f71b7336e5cba3e37",
"originHash" : "1e51842f566cb5b99c8ac7575b8910b65467e19dda2da9562c06bf365e78c2e9",
"pins" : [
{
"identity" : "binarycodable",
@@ -55,24 +55,6 @@
"version" : "6.29.3"
}
},
{
"identity" : "maccontrolcenterui",
"kind" : "remoteSourceControl",
"location" : "https://github.com/orchetect/MacControlCenterUI",
"state" : {
"revision" : "40950d0b3f67dae4259e9ef2c14599977c1f4512",
"version" : "2.7.1"
}
},
{
"identity" : "menubarextraaccess",
"kind" : "remoteSourceControl",
"location" : "https://github.com/orchetect/MenuBarExtraAccess",
"state" : {
"revision" : "707dff6f55217b3ef5b6be84ced3e83511d4df5c",
"version" : "1.2.2"
}
},
{
"identity" : "qrcode",
"kind" : "remoteSourceControl",