Sublime Forum

Modifying Info.plist to use custom icon per file type


Trying to amend Sublime’s Info.plist to support a custom icon per file type. I’m on Catalina, which I get is a bit old, and with Big Sur around the corner, who knows if this amendment will still work.

I’ve added the following to Sublime’s Info.plist to try and force a custom icon for .txt files. The icns file is in /Resources/ like the app’s icon.

	<string>Text File</string>

I’m not an app developer per se, so I’m not sure if maybe this block needs to go before/after some other block.

After making the change, I restarted Launch Services/Sublime/Finder but no luck, custom icon still not showing. Anyone have any ideas what I’m doing wrong?