Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

Commit

Permalink
#277 Compatibility with Thunderbird 67 and newer versions
Browse files Browse the repository at this point in the history
* Refactor `install.rdf` to `manifest.json`.
  • Loading branch information
advancingu committed Oct 6, 2019
1 parent 8bae4af commit b7b5922
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 61 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
/install.rdf
/exchangecalendar-v*.xpi
9 changes: 3 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
version = $(shell cat VERSION)
excludefromxpi = .git/\* .gitignore \*/.gitignore .tx/\* \*.xpi \*.sh update\*.txt Makefile VERSION install.rdf.template
version = $(shell jq -r '.version' manifest.json)
excludefromxpi = .git/\* .gitignore \*/.gitignore .tx/\* \*.xpi \*.sh update\*.txt Makefile
releasebranch = ec-4.0
update = disable
xpi = exchangecalendar-v$(version).xpi
Expand All @@ -9,13 +9,10 @@ xpi = exchangecalendar-v$(version).xpi
# Default target is build package
build: $(xpi)

$(xpi): install.rdf defaults/preferences/update.js
$(xpi): defaults/preferences/update.js
rm -f $@
zip -r $@ -x $(excludefromxpi) -- .

install.rdf: install.rdf.template
sed 's/@VERSION@/$(version)/g' $< > $@

defaults/preferences/update.js:
cp defaults/preferences/update_$(update).txt $@

Expand Down
1 change: 0 additions & 1 deletion VERSION

This file was deleted.

53 changes: 0 additions & 53 deletions install.rdf.template

This file was deleted.

18 changes: 18 additions & 0 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"manifest_version": 2,
"applications": {
"gecko": {
"id": "[email protected]",
"strict_min_version": "68.0"
}
},
"name": "Exchange Calendar",
"description": "Synchronize calendars, tasks, and contacts with Microsoft Exchange.",
"version": "4.0.0.5",
"version_name": "4.0.0-beta5",
"icons": {
"32": "common/theme/common/images/lightningexchangecalendar.png"
},
"homepage_url": "https://github.com/ExchangeCalendar/exchangecalendar",
"author": "ExchangeCalendar community"
}

0 comments on commit b7b5922

Please sign in to comment.