Thunderbird officially has a flatpak now, update TB logo. (#319)

This commit is contained in:
Martin Giger 2023-09-15 22:02:33 +02:00 committed by GitHub
parent 95fa6d7245
commit 246cd5e941
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 71 additions and 1406 deletions

File diff suppressed because it is too large Load diff

Before

Width:  |  Height:  |  Size: 43 KiB

After

Width:  |  Height:  |  Size: 7.3 KiB

View file

@ -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) {