Quantcast
Channel: Evaggelos Balaskas - System Engineer
Viewing all articles
Browse latest Browse all 333

Changing Version On Mozilla Addons

$
0
0

Today i tried to install Quote Colors 0.3 on thunderbird.

But i keep hitting the “incompatibility” version problem.

So below my notes on how to “bypass” the Max Version on every mozilla addon xpi.

[~]> cd tmp/

[tmp]> mkdir -pv QuoteColors
mkdir: created directory ‘QuoteColors’

[tmp]> cd !$
cd QuoteColors

[QuoteColors]> wget https://addons.mozilla.org/thunderbird/downloads/latest/170/addon-170-latest.xpi
2015-01-30 13:32:13 (446 KB/s) - ‘addon-170-latest.xpi’ saved [37343/37343]

[QuoteColors]> unzip addon-170-latest.xpi
Archive:  addon-170-latest.xpi
  inflating: chrome.manifest         
  inflating: chrome/quotecolors.jar  
  inflating: defaults/preferences/quotecolors.js  
  inflating: install.rdf             
  inflating: license.txt             

[QuoteColors]> sed -i -e 's/3.0.*/99.9.9/g' install.rdf

[QuoteColors]> zip -r addon-170-latest.xpi .
updating: chrome.manifest (deflated 80%)
updating: chrome/quotecolors.jar (deflated 15%)
updating: defaults/preferences/quotecolors.js (deflated 77%)
updating: install.rdf (deflated 69%)
updating: license.txt (deflated 53%)
  adding: defaults/ (stored 0%)
  adding: defaults/preferences/ (stored 0%)
  adding: chrome/ (stored 0%)

Viewing all articles
Browse latest Browse all 333

Trending Articles