Skip to content

Commit

Permalink
fix: dark theme meunbar icon
Browse files Browse the repository at this point in the history
  • Loading branch information
wflixu committed Sep 2, 2024
1 parent 91443ac commit 7b1a0f5
Show file tree
Hide file tree
Showing 18 changed files with 37 additions and 109 deletions.
2 changes: 1 addition & 1 deletion FinderSyncExt/FinderOpen.swift
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class FinderOpen: FIFinderSync {
}

override var toolbarItemImage: NSImage {
return NSImage(named: "MenuBarIcon")!
return NSImage(named: "toolbar")!
}

@MainActor func initMenuDirs() throws {
Expand Down
16 changes: 8 additions & 8 deletions RClick.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 9.1.1;
CURRENT_PROJECT_VERSION = 9.2.1;
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_ASSET_PATHS = "\"RClick/Preview Content\"";
DEVELOPMENT_TEAM = 4L3563XCBN;
Expand All @@ -566,7 +566,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 14.0;
MARKETING_VERSION = 1.3.2;
MARKETING_VERSION = 1.3.3;
PRODUCT_BUNDLE_IDENTIFIER = cn.wflixu.RClick;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand All @@ -586,7 +586,7 @@
CODE_SIGN_IDENTITY = "3rd Party Mac Developer Application";
CODE_SIGN_STYLE = Manual;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 9.1.1;
CURRENT_PROJECT_VERSION = 9.2.1;
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_ASSET_PATHS = "\"RClick/Preview Content\"";
DEVELOPMENT_TEAM = "";
Expand All @@ -604,7 +604,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 14.0;
MARKETING_VERSION = 1.3.2;
MARKETING_VERSION = 1.3.3;
PRODUCT_BUNDLE_IDENTIFIER = cn.wflixu.RClick;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = mac_app_rclick_distribution_store;
Expand All @@ -621,7 +621,7 @@
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 9.1.1;
CURRENT_PROJECT_VERSION = 9.2.1;
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_TEAM = 4L3563XCBN;
ENABLE_HARDENED_RUNTIME = YES;
Expand All @@ -636,7 +636,7 @@
"@executable_path/../../../../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 14.0;
MARKETING_VERSION = 1.3.2;
MARKETING_VERSION = 1.3.3;
PRODUCT_BUNDLE_IDENTIFIER = cn.wflixu.RClick.FinderSyncExt;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
Expand All @@ -653,7 +653,7 @@
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "3rd Party Mac Developer Application";
CODE_SIGN_STYLE = Manual;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 9.1.1;
CURRENT_PROJECT_VERSION = 9.2.1;
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_TEAM = "";
"DEVELOPMENT_TEAM[sdk=macosx*]" = 4L3563XCBN;
Expand All @@ -669,7 +669,7 @@
"@executable_path/../../../../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 14.0;
MARKETING_VERSION = 1.3.2;
MARKETING_VERSION = 1.3.3;
PRODUCT_BUNDLE_IDENTIFIER = cn.wflixu.RClick.FinderSyncExt;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down
3 changes: 3 additions & 0 deletions RClick/Assets.xcassets/Contents.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,8 @@
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"compression-type" : "lossy"
}
}
4 changes: 2 additions & 2 deletions RClick/Assets.xcassets/MenuBar.imageset/Contents.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"images" : [
{
"filename" : "menu-bar@1x 1.png",
"filename" : "menu-bar@1x.png",
"idiom" : "mac",
"scale" : "1x"
},
Expand All @@ -17,7 +17,7 @@
"scale" : "1x"
},
{
"filename" : "menu-bar@2x 1.png",
"filename" : "menu-bar@2x.png",
"idiom" : "mac",
"scale" : "2x"
},
Expand Down
Binary file modified RClick/Assets.xcassets/MenuBar.imageset/menu-bar-dark@1x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified RClick/Assets.xcassets/MenuBar.imageset/menu-bar-dark@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
50 changes: 0 additions & 50 deletions RClick/Assets.xcassets/MenuBarIcon.sidebariconset/Contents.json

This file was deleted.

Binary file not shown.
Binary file not shown.
48 changes: 0 additions & 48 deletions RClick/Assets.xcassets/Sidebar Icon.sidebariconset/Contents.json

This file was deleted.

23 changes: 23 additions & 0 deletions RClick/Assets.xcassets/toolbar.imageset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"images" : [
{
"filename" : "toolbar.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "toolbar@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "toolbar@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Binary file added RClick/Assets.xcassets/toolbar.imageset/toolbar.png
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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7b1a0f5

Please sign in to comment.