Repository navigation
Add version badges to installed Xcode icons - #500
Open
hannah-computer wants to merge 1 commit into
Open
hannah-computer wants to merge 1 commit into
hannah-computer wants to merge 1 commit into
Conversation
Adds `xcodes icon [version] [--remove]` and `xcodes install --badge-icon`, which draw the version onto a custom Finder icon so several Xcodes can be told apart in the Dock.
Contributor
|
@hannah-computer I like it! Been on my backlog to do for a while now so glad to see it working! Perhaps allowing options of where the user wants it located, color, etc if you wanted to go full feature. First request would be to put the main code on https://github.com/XcodesOrg/XcodesKit so that both the CLI and the UI can share it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi folks,
I got tired of clicking on the wrong Xcode in my Dock, so had the robot cook up a feature that draws a custom version-badged icon. It's using the Finder icon mechanism to add an override, which shows up in Finder, the Dock, and even the splash screen.
Adds
xcodes icon [version] [--remove]to add/remove icons for installed versions andxcodes install --badge-iconto apply the icon at installation time.Not quite happy with the design yet, since it actually clashes with the "beta" badge that 27.3 beta comes with. I guess the version could go in the top-left corner in a similar glass design instead?
Screenshots