Gervase Markham wrote:

Ian Oeschger wrote:

openthismoz.py: simple python script I've been using to extract the UI from the JAR files in the Mozilla chrome and update the registry so you can get at the XUL/CSS/JS/etc.

For those of a more Perl persuasion, Patch Maker can do this (among many other things):
http://www.gerv.net/software/patch-maker/

Gerv
Thanks guys, I'll add links to both of these scripts from the tutorials!

Ian, one flaw in the tutorial's approach is that it doesn't deal with the three platform-specific files (en-mac.jar, en-unix.jar, en-win.jar) that unjar files with the same name. This causes zip to pause and ask the user what they want to do (overwrite one file, all files, no files, etc.), and it's easy for a user who doesn't understand what is going on to end up with files for the wrong platform. Is it possible to build some smarts into your script to avoid this situation?

Gerv, I notice that patch maker puts its files in different directories than they would go if the archives were merely expanded. What are the advantages to that directory structure?

-myk


Reply via email to