New version#22
Conversation
Greptile SummaryThis PR replaces the right-click context-menu icons across all file types with a new unified icon set sourced from iconfont.cn, and adds Objective-C helpers in
Confidence Score: 4/5Safe to merge functionally, but icons will render blurry on all Retina Macs until 2x/3x assets are supplied. The missing 2x/3x image assets are a present visual defect on virtually every Mac this extension targets — the icons will be upscaled bitmaps rather than crisp Retina images. This is a P1 quality issue that should be addressed before merging. All seven updated imageset Contents.json files need 2x (and ideally 3x) PNG assets added and declared. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[Finder requests context menu icon] --> B[contextMenuImageNamed:]
B --> C[Load NSImage from asset catalog]
C --> D{systemAppearanceIsDark?}
D -- Yes --> E[NSAppearanceNameDarkAqua]
D -- No --> F[NSAppearanceNameAqua]
E --> G[performAsCurrentDrawingAppearance]
F --> G
G --> H[singleLayerMenuImageFromCatalogImage:]
H --> I[Render catalog image into NSBitmapImageRep at screen scale]
I --> J[Return flat single-rep NSImage to Finder]
J --> K{Asset has 2x/3x?}
K -- Yes --> L[Sharp Retina icon]
K -- No, 1x only --> M[Upscaled blurry icon]
|
…ts.json Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Description
I have standardized the right-click icon style to make it more consistent on Macos.
Type of Change
Testing
Checklist
Screenshots (if applicable)
Additional Notes
The preference for icon styles may vary due to personal aesthetics, this is just my suggested icon. Additionally, the icon is from the open-source icon platform https://www.iconfont.cn/