Re: A useful hack for someone



Yo,

It may be worthwhile to try to salvage mozilla's install code here.  I
suspect trying to mirror this is going to be a maintenance nightmare.

-Alex

On Thu, 2004-11-18 at 19:16 -0500, Joe Shaw wrote:
> Hi,
> 
> We'd like to install the firefox extension as a part of "make install",
> but there isn't any easy way to do this per-user currently.
> 
> A good hack for someone who wants to get started in C# would be to write
> a utility which does the following:
> 
>         * Parses the .mozilla/firefox/profiles.ini and finds which
>         profile is the default.
>         
>         * Takes the install.rdf file and merges it into
>         the .mozilla/firefox/<profile>/extensions/Extensions.rdf.  It's
>         not just a cat job because there are XML-type bits in there, so
>         you can learn the XML APIs.
>         
>         * Copies the data into the extensions directory.  It's probably
>         as simple as creating the GUID dir under extensions, sticking
>         install.rdf in there, and sticking beagle.jar into a chrome
>         subdir as well.  Some tweaking might be necessary here.
> 
> Joe
> 
> _______________________________________________
> Dashboard-hackers mailing list
> Dashboard-hackers gnome org
> http://mail.gnome.org/mailman/listinfo/dashboard-hackers
> 
> 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]