[Project_owners] Locating path of files after XPI installation

Pete Collins pete at mozdev.org
Sun Nov 16 11:32:55 EST 2003


Erwan Loisant wrote:
> By the way Pete, what about this bug ? Do you think this is 
> Linux-specific ?
> http://mozdev.org/bugs/show_bug.cgi?id=4946

Yea, that's a Mozilla bug. Thanks for reminding me about that one.

I need to add a workaround for that.

BTW: jslib defaults it's install to the mozilla chrome dir and will fall 
back on the user chrome if the user doesn't have permissions to install 
there.

--pete

> 
> Pete Collins wrote:
> 
>>> After a user has installed a XPI add-on... is it possible to get the
>>> path on disk where the package has been installed to ?
>>
>>
>>
>>
>> I know I sound like a broken record, but using jslib:
>>
>> chromeToPath(aPath);
>>
>>   http://jslib.mozdev.org/libraries/io/fileutils.js.html
> 
> 
> 
> 


-- 
Pete Collins
www.mozdev.org
www.mozdevgroup.com




More information about the Project_owners mailing list