Adding DefIcons with script
Posted: Sun Jul 28, 2013 1:36 pm
I want to add new default icon for JAR-files automatically when installing JAmiga.
Adding the default icon is enough by copying def_jar.info to ENV:sys/. But how can I automatically make DefIcons use it? JAR-files are actually ZIP-files, so the icon they'll get by default is a ZIP icon.
I've manually added def_jar.info to DefIcons by applying the same matching as for ZIP files, and also adding the .jar suffix. But that was manually with the DefIcons prefs. Is it possible to do this with a command line tool, so it can be automated during install?
Adding the default icon is enough by copying def_jar.info to ENV:sys/. But how can I automatically make DefIcons use it? JAR-files are actually ZIP-files, so the icon they'll get by default is a ZIP icon.
I've manually added def_jar.info to DefIcons by applying the same matching as for ZIP files, and also adding the .jar suffix. But that was manually with the DefIcons prefs. Is it possible to do this with a command line tool, so it can be automated during install?