I'm trying to write an XPI that does nothing other than simply replace the graphics used for the throbber. In my case, this is only with respect to the Modern theme, so the GIF files in question are located in modern.jar under "skin/modern/communicator/brand".
I've downloaded a few XPIs and looked at their install.js files to see how to do this. Unfortunately, I haven't been able to determine the correct method. The best I've managed to do so far (neither one of which is what I want) is: a) End up adding a differently named .jar file to the chrome directory - which is never used. b) Replacing the original modern.jar file with my own version that contains only the 4 files I want replaced. Of course, Mozilla will not start because none of the other chrome files for modern exist any more. How can I get JavaScript to leave the original modern.jar file as it is EXCEPT FOR replacing the files I have contained in my own copy of modern.jar? (I don't want to replace the entire modern.jar, just update it with the 4 files I have.)
