Skip to content
Permalink
Browse files

Add support for Iceape-UXP

  • Loading branch information
djames1 committed Feb 25, 2020
1 parent 44e15bc commit 78078adaf842a5a74af0dde37bff693bc8cddeae
Showing with 24 additions and 7 deletions.
  1. +1 −1 bootstrap.js
  2. +2 −2 content/addon.js
  3. +2 −2 content/list.js
  4. +2 −2 content/versions.js
  5. BIN file.xpi
  6. +8 −0 install.rdf
  7. +9 −0 update.xml
@@ -149,7 +149,7 @@ let menuitem = {
m.style.listStyleImage = 'url("chrome://ca-archive/skin/button.png")';

let menu;
if (Services.appinfo.name == "SeaMonkey") {
if (Services.appinfo.name == "SeaMonkey" || Services.appinfo.name == "Iceape-UXP") {
menu = $(doc, "taskPopup");
} else {
menu = $(doc, "menu_ToolsPopup");
@@ -108,7 +108,7 @@ let Addon = {
let appver;
if (Services.appinfo.name == "Pale Moon") {
appver = "27.9";
} else if (Services.appinfo.name != "SeaMonkey") {
} else if (Services.appinfo.name != "SeaMonkey" && Services.appinfo.name != "Iceape-UXP") {
appver = Services.appinfo.version;
}
data.downurl = "https://ca-archive.biz.tm/storage/" + Math.trunc(dbQuery.row.addon_id/1000) + "/" + dbQuery.row.addon_id + "/" + dbQuery.row.url.replace(/^\d+\/(.*)/,"$1") + "?origin=caa&action=";
@@ -434,4 +434,4 @@ let Addon = {
</body>
</html>`,

};
};
@@ -182,7 +182,7 @@ let List = {
let appver;
if (Services.appinfo.name == "Pale Moon") {
appver = "27.9";
} else if (Services.appinfo.name != "SeaMonkey") {
} else if (Services.appinfo.name != "SeaMonkey" && Services.appinfo.name != "Iceape-UXP") {
appver = Services.appinfo.version;
}
if (appver && Services.vc.compare(dbQuery.row.min, appver) <= 0 && Services.vc.compare(appver, dbQuery.row.max) <= 0) {
@@ -336,4 +336,4 @@ let List = {
</div>
</div>`

};
};
@@ -110,7 +110,7 @@ let Versions = {
let appver;
if (Services.appinfo.name == "Pale Moon") {
appver = "27.9";
} else if (Services.appinfo.name != "SeaMonkey") {
} else if (Services.appinfo.name != "SeaMonkey" && Services.appinfo.name != "Iceape-UXP") {
appver = Services.appinfo.version;
}
let downurl = "https://ca-archive.biz.tm/storage/" + Math.trunc(dbQuery.row.addon_id/1000) + "/" + dbQuery.row.addon_id + "/" + dbQuery.row.url.replace(/^\d+\/(.*)/,"$1") + "?origin=caa&action=";
@@ -216,4 +216,4 @@ let Versions = {
</div>
</div>`

};
};
BIN +181 KB file.xpi
Binary file not shown.
@@ -32,5 +32,13 @@
<em:maxVersion>*</em:maxVersion>
</Description>
</em:targetApplication>
<!-- Iceape-UXP -->
<em:targetApplication>
<Description>
<em:id>{9184b6fe-4a5c-484d-8b4b-efbfccbfb514}</em:id>
<em:minVersion>52.0</em:minVersion>
<em:maxVersion>52.*</em:maxVersion>
</Description>
</em:targetApplication>
</Description>
</RDF>
@@ -30,6 +30,15 @@
<em:updateLink>https://github.com/JustOff/ca-archive/releases/download/2.0.1/ca-archive-2.0.1.xpi</em:updateLink>
</RDF:Description>
</em:targetApplication>
<!-- Iceape-UXP -->
<em:targetApplication>
<RDF:Description>
<em:id>{9184b6fe-4a5c-484d-8b4b-efbfccbfb514}</em:id>
<em:minVersion>52.0</em:minVersion>
<em:maxVersion>52.*</em:maxVersion>
<em:updateLink>https://github.com/JustOff/ca-archive/releases/download/2.0.1/ca-archive-2.0.1.xpi</em:updateLink>
</RDF:Description>
</em:targetApplication>
</RDF:Description>
</RDF:li>
</RDF:Seq>

0 comments on commit 78078ad

Please sign in to comment.
You can’t perform that action at this time.