]> git.gir.st - VimFx.git/commit
fix installation on localized/l10n versions of firefox
authorgirst <girst@users.noreply.github.com>
Fri, 11 Nov 2022 13:56:23 +0000 (14:56 +0100)
committergirst <girst@users.noreply.github.com>
Fri, 11 Nov 2022 14:09:26 +0000 (15:09 +0100)
commit2b7b4ea36ae6cb51476c7a6994965be1c1307b88
tree8b2d33b161d0a15a83fecd5b2ea974b3ba149793
parentb7f49f400dc00092d9e3c85473b95177430129de
fix installation on localized/l10n versions of firefox

resource://gre/modules/addons/XPIInstall.jsm tries to get the Addon's
name in loadManifest(). On localized versions supported by VimFx, this
is read from install.rdf's <em:localized> section. We assumed that when
this block does not include an <em:name> element, that it would use the
one from the non-localized section. That does not seem to have been
true, ever. Even l10n-Firefox 52 balks here (using 0.21.0 and 0.22.2),
as well as i10n-Firefox 68.

fixes: https://github.com/akhodakivskiy/VimFx/issues/982
extension/install.rdf.tmpl
Imprint / Impressum