Skip to content

Commit

Permalink
add src/manifest.json for TB69, note: not fully work yet
Browse files Browse the repository at this point in the history
  • Loading branch information
wangvisual committed May 28, 2019
1 parent cd93480 commit 31292a5
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/install.rdf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<Description>
<em:id>{3550f703-e582-4d05-9a08-453d09bdfdc6}</em:id> <!-- Thunderbird -->
<em:minVersion>60.0</em:minVersion>
<em:maxVersion>63.0</em:maxVersion>
<em:maxVersion>69.0</em:maxVersion>
</Description>
</em:targetApplication>

Expand Down
27 changes: 27 additions & 0 deletions src/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"applications": {
"gecko": {
"id": "awsomeautoarchive@opera.wang",
"strict_min_version": "60.0",
"strict_max_version": "69.0"
}
},
"version": "0.9beta",
"manifest_version": 2,
"name": "Awesome Auto Archive",
"description": "Automatically Archive/Copy/Delete/Move emails based on user defined rules",
"author": "Opera Wang",
"homepage_url": "https://github.com/wangvisual/autoArchive",
"legacy": {
"type": "bootstrap",
"options": {
"page": "chrome://awsomeAutoArchive/content/autoArchivePrefDialog.xul",
"open_in_tab": false
}
},
"icons": {
"32": "icon.png",
"48": "icon.png",
"64": "icon.png"
}
}
2 changes: 1 addition & 1 deletion src/release.bat
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
set PATH=c:\Program Files (x86)\7-Zip;c:\Program Files\7-Zip;d:\Program Files (x86)\7-Zip;d:\Program Files\7-Zip
set zip=7z.exe a -tzip -mx1 -r
set AllFiles=content locale defaults chrome.manifest icon.png install.rdf bootstrap.js
set AllFiles=content locale defaults chrome.manifest manifest.json icon.png install.rdf bootstrap.js
del awsomeAutoArchive-*-tb.xpi
%zip% awsomeAutoArchive-0.9-tb.xpi %AllFiles% -xr!.svn
2 changes: 1 addition & 1 deletion src/release.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh

zip="zip -r"
AllFiles="content locale defaults chrome.manifest icon.png install.rdf bootstrap.js"
AllFiles="content locale defaults chrome.manifest manifest.json icon.png install.rdf bootstrap.js"
version="$(grep "<em:version>" install.rdf | sed -e 's/.*<em:version>\(.*\)<\/em:version>.*/\1/g')"

fileName="../beta/awsomeAutoArchive-${version}-tb.xpi"
Expand Down

0 comments on commit 31292a5

Please sign in to comment.