Hi Michael, Thanks for the scripts, it helped a lot.
I had 59 scripts, mainly platypus based, and after I run your script it appended the includes to the end of each script. All I had to do was cut and paste to the top of my script and I was good to go. Cheers. On Feb 6, 5:09 pm, Michael Panteleit <[email protected]> wrote: > On Jan 23, 2:53 am, esquifit <[email protected]> wrote: > > > Well, I suppose this means that I'll have to go through the nearly 200 > > scripts I have installed and check one by one whether there is a > > metadata mismatch between the script and config.xml, and manually > > update the affected scripts to reflect the reality before attempting > > the upgrade to 0.9. > > Hi, I had the same problem and decided to write a little Perl script to > automate the process. I wouldn't do it by hand because of all the > possible typos which could slip in. > > I've uploaded the script here:http://pastebin.com/17rfAt3y > > As said, you need Perl and I only tested it under Linux. I have no idea > if this will work under Windows or MacOS. > > The script reads the config.xml looks for the GM scripts, deletes the > @include and @exclude rules in the GM script and then put the rules from > config.xml into the appropiate GM script. > > Before using the script, please close Firefox and make a backup of the > gm_script directory (just in case something is going wrong). > > Then start the script with the gm_script directory as parameter. Under > Linux it's usually: /home/USER/.mozilla/firefox/PROFILE/gm_scripts > Where USER and PROFILE are the corresponding directory names. > > I hope it helps, it made my life easier :) > > And thanks to all GM developer for this great Add-On. > > Greetings, > Michael Panteleit -- You received this message because you are subscribed to the Google Groups "greasemonkey-users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/greasemonkey-users?hl=en.
