From 246cd5e941c53a72de02bb3bdbe5a922dbdb80d3 Mon Sep 17 00:00:00 2001 From: Martin Giger Date: Fri, 15 Sep 2023 22:02:33 +0200 Subject: [PATCH] Thunderbird officially has a flatpak now, update TB logo. (#319) --- images/client-icons/thunderbird.svg | 1468 ++------------------------- src/open/clients/Thunderbird.js | 9 +- 2 files changed, 71 insertions(+), 1406 deletions(-) diff --git a/images/client-icons/thunderbird.svg b/images/client-icons/thunderbird.svg index c272788..40b4fb9 100644 --- a/images/client-icons/thunderbird.svg +++ b/images/client-icons/thunderbird.svg @@ -1,1405 +1,65 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/open/clients/Thunderbird.js b/src/open/clients/Thunderbird.js index b699df7..2c1f58c 100644 --- a/src/open/clients/Thunderbird.js +++ b/src/open/clients/Thunderbird.js @@ -11,7 +11,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -import { Maturity, Platform, LinkKind, WebsiteLink, style} from "../types.js"; +import { Maturity, Platform, LinkKind, FlathubLink, WebsiteLink, style} from "../types.js"; /** * Information on how to deep link to a given matrix client. @@ -33,7 +33,12 @@ export class Thunderbird { } getInstallLinks(platform) { - return [new WebsiteLink(this.homepage)]; + const links = []; + if (platform === Platform.Linux) { + links.push(new FlathubLink("org.mozilla.Thunderbird")); + } + links.push(new WebsiteLink(this.homepage)); + return links; } getLinkInstructions(platform, link) {