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
2 changed files with 71 additions and 1406 deletions
+7 -2
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) {