So I had some questions on how I generated the MacVim document/file type icons since the included script has been broken for a lot of people.
To use the /src/macvim/icons/ script, you need to make a few changes:
- You need a 512px version of the apple “GenericDocumentIcon.icns”
- I took the 1024px version from Mavericks, exported all the png files, and created a new icns with 512px max size.
-
I placed the 512px icon in the “icons” directory and modified the docerator.py and make_icns.py files
- Copy or export a 512px version of the icon you want to use, rename it ‘vim-noshadow-512.png’, and place it in the /icons folder.
-
Download a pre-compiled version of “makeicns” and place it in the /icons/makeicns folder, then comment out the relevant portion of the makefile.
-
Modify the make_icns.py script to generate 512px for all sizes (alternatively you could just change every icon type to the ‘large’ preset instead of ‘small’, I just found it was fewer changes to add 512px to the small preset.)
-
‘cd’ into the /icons directory and run: ‘make getevny’ followed by ‘make all’
(Note: this will generate an error at the end because we’re no longer using the ‘link’ option for any icons, you could always comment out the call to ‘link’ but I just haven’t bothered.)