Skip to content

Commit

Permalink
add menubar icon; support macOS 12; support menuBar icon; support app…
Browse files Browse the repository at this point in the history
… filter
  • Loading branch information
lihaoyun6 committed Nov 23, 2024
1 parent 55b8d74 commit 24ea15a
Show file tree
Hide file tree
Showing 41 changed files with 1,880 additions and 571 deletions.
31 changes: 25 additions & 6 deletions Topit.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

/* Begin PBXBuildFile section */
18BC298B2CEC21B100FF22A8 /* Sparkle in Frameworks */ = {isa = PBXBuildFile; productRef = 18BC298A2CEC21B100FF22A8 /* Sparkle */; };
18D6C25C2CEF5FA00026BFB3 /* KeyboardShortcuts in Frameworks */ = {isa = PBXBuildFile; productRef = 18D6C25B2CEF5FA00026BFB3 /* KeyboardShortcuts */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
Expand Down Expand Up @@ -41,6 +42,7 @@
buildActionMask = 2147483647;
files = (
18BC298B2CEC21B100FF22A8 /* Sparkle in Frameworks */,
18D6C25C2CEF5FA00026BFB3 /* KeyboardShortcuts in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -84,6 +86,7 @@
name = Topit;
packageProductDependencies = (
18BC298A2CEC21B100FF22A8 /* Sparkle */,
18D6C25B2CEF5FA00026BFB3 /* KeyboardShortcuts */,
);
productName = Topit;
productReference = 18221D732CEA07BA009F773F /* Topit.app */;
Expand Down Expand Up @@ -116,6 +119,7 @@
minimizedProjectReferenceProxies = 1;
packageReferences = (
18BC29892CEC21B100FF22A8 /* XCRemoteSwiftPackageReference "Sparkle" */,
18D6C25A2CEF5FA00026BFB3 /* XCRemoteSwiftPackageReference "KeyboardShortcuts" */,
);
preferredProjectObjectVersion = 77;
productRefGroup = 18221D742CEA07BA009F773F /* Products */;
Expand Down Expand Up @@ -274,20 +278,21 @@
CODE_SIGN_ENTITLEMENTS = Topit/Topit.entitlements;
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 10;
CURRENT_PROJECT_VERSION = 11;
DEVELOPMENT_ASSET_PATHS = "\"Topit/Preview Content\"";
DEVELOPMENT_TEAM = L4T783637F;
ENABLE_HARDENED_RUNTIME = YES;
ENABLE_PREVIEWS = YES;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = Topit/Info.plist;
INFOPLIST_KEY_LSUIElement = YES;
INFOPLIST_KEY_NSHumanReadableCopyright = "Copyright © 2024 lihaoyun6. All rights reserved.";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 13.0;
MARKETING_VERSION = 0.1.0;
MACOSX_DEPLOYMENT_TARGET = 12.3;
MARKETING_VERSION = 0.1.1;
PRODUCT_BUNDLE_IDENTIFIER = com.lihaoyun6.Topit;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = YES;
Expand All @@ -303,20 +308,21 @@
CODE_SIGN_ENTITLEMENTS = Topit/Topit.entitlements;
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 10;
CURRENT_PROJECT_VERSION = 11;
DEVELOPMENT_ASSET_PATHS = "\"Topit/Preview Content\"";
DEVELOPMENT_TEAM = L4T783637F;
ENABLE_HARDENED_RUNTIME = YES;
ENABLE_PREVIEWS = YES;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = Topit/Info.plist;
INFOPLIST_KEY_LSUIElement = YES;
INFOPLIST_KEY_NSHumanReadableCopyright = "Copyright © 2024 lihaoyun6. All rights reserved.";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 13.0;
MARKETING_VERSION = 0.1.0;
MACOSX_DEPLOYMENT_TARGET = 12.3;
MARKETING_VERSION = 0.1.1;
PRODUCT_BUNDLE_IDENTIFIER = com.lihaoyun6.Topit;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = YES;
Expand Down Expand Up @@ -356,6 +362,14 @@
minimumVersion = 2.6.4;
};
};
18D6C25A2CEF5FA00026BFB3 /* XCRemoteSwiftPackageReference "KeyboardShortcuts" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/sindresorhus/KeyboardShortcuts";
requirement = {
kind = upToNextMajorVersion;
minimumVersion = 2.2.2;
};
};
/* End XCRemoteSwiftPackageReference section */

/* Begin XCSwiftPackageProductDependency section */
Expand All @@ -364,6 +378,11 @@
package = 18BC29892CEC21B100FF22A8 /* XCRemoteSwiftPackageReference "Sparkle" */;
productName = Sparkle;
};
18D6C25B2CEF5FA00026BFB3 /* KeyboardShortcuts */ = {
isa = XCSwiftPackageProductDependency;
package = 18D6C25A2CEF5FA00026BFB3 /* XCRemoteSwiftPackageReference "KeyboardShortcuts" */;
productName = KeyboardShortcuts;
};
/* End XCSwiftPackageProductDependency section */
};
rootObject = 18221D6B2CEA07BA009F773F /* Project object */;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
{
"originHash" : "e721da7f9826abdffcb6185e886155efa2514bd6234475f1afa893e29eb258d6",
"originHash" : "800750e91580ed3ddb5287ec0027c0ce18c477120948b5d890bec3d8a880ccf9",
"pins" : [
{
"identity" : "keyboardshortcuts",
"kind" : "remoteSourceControl",
"location" : "https://github.com/sindresorhus/KeyboardShortcuts",
"state" : {
"revision" : "c3c361f409b8dbe1eab186078b41c330a6a82c9a",
"version" : "2.2.2"
}
},
{
"identity" : "sparkle",
"kind" : "remoteSourceControl",
Expand Down
142 changes: 0 additions & 142 deletions Topit/Accessibility.swift

This file was deleted.

38 changes: 38 additions & 0 deletions Topit/Assets.xcassets/blackWhite.colorset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"colors" : [
{
"color" : {
"color-space" : "display-p3",
"components" : {
"alpha" : "1.000",
"blue" : "0xFC",
"green" : "0xFC",
"red" : "0xFC"
}
},
"idiom" : "universal"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"color" : {
"color-space" : "display-p3",
"components" : {
"alpha" : "1.000",
"blue" : "0x38",
"green" : "0x38",
"red" : "0x38"
}
},
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
22 changes: 22 additions & 0 deletions Topit/Assets.xcassets/block.imageset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"images" : [
{
"filename" : "blacklist@1x.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "blacklist.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 20 additions & 0 deletions Topit/Assets.xcassets/buttonBlue.colorset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"colors" : [
{
"color" : {
"color-space" : "display-p3",
"components" : {
"alpha" : "1.000",
"blue" : "0xEF",
"green" : "0xB6",
"red" : "0x69"
}
},
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
20 changes: 20 additions & 0 deletions Topit/Assets.xcassets/buttonGreen.colorset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"colors" : [
{
"color" : {
"color-space" : "display-p3",
"components" : {
"alpha" : "1.000",
"blue" : "0x55",
"green" : "0xC5",
"red" : "0x61"
}
},
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
20 changes: 20 additions & 0 deletions Topit/Assets.xcassets/buttonGreenDark.colorset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"colors" : [
{
"color" : {
"color-space" : "display-p3",
"components" : {
"alpha" : "1.000",
"blue" : "0x18",
"green" : "0x60",
"red" : "0x29"
}
},
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading

0 comments on commit 24ea15a

Please sign in to comment.