3/27/2023 0 Comments Change app icon mac![]() You can get the current icon file with the following command: defaults read /path/to/App.app/Contents/Info CFBundleIconFile. Will come back to update this if I find anything (current thread is looking for CFBundleIconFile, but it doesn't look like all apps have this.) This seems to be the JetBrains apps that are currently running), but after quitting + opening, new icons are reflected.Īs said at the beginning, I'm looking for a way to cut out the need to find /full/path/to/current/icon.icns manually, so you just pass in the. There are a few apps I've come across that require a quit + restart (killing Dock doesn't do it. Set-app-icon "/full/path/to/App.app" "/full/path/to/current/icon.icns" "/full/path/to/new/icon.icns" Wrap it in a function & then you can script: # $NEW_ICON_FILE = /full/path/to/new/icon.icns The following snippet can be used to update the icon for a given app: # $ICON_PATH = /full/path/to/current/icon.icns ![]() MS Word uses MSWD.icns, Rider uses rider.icns, Outlook uses Outlook.icns, Slack uses electron.icns, etc. ![]() Right now I have a list and it runs through that.Į.g. The biggest trick that I don't have an answer for is how to identify the current file used by an app. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |