Skip to content
Snippets Groups Projects
Unverified Commit 5f4c9a7c authored by Aaron Raimist's avatar Aaron Raimist
Browse files

Display both flathub and website download links for Linux


Signed-off-by: default avatarAaron Raimist <aaron@raim.ist>
parent e71021e8
Branches
Tags
No related merge requests found
......@@ -44,8 +44,14 @@ export class Fluffychat {
getInstallLinks(platform) {
switch (platform) {
case Platform.iOS: return [new AppleStoreLink("fluffychat", "id1551469600")];
case Platform.Android: return [new PlayStoreLink("chat.fluffy.fluffychat"), new FDroidLink('chat.fluffy.fluffychat')];
case Platform.Linux: return [new FlathubLink("im.fluffychat.Fluffychat")];
case Platform.Android: return [
new PlayStoreLink("chat.fluffy.fluffychat"),
new FDroidLink('chat.fluffy.fluffychat'),
];
case Platform.Linux: return [
new FlathubLink("im.fluffychat.Fluffychat"),
new WebsiteLink("https://fluffychat.im"),
];
default: return [new WebsiteLink("https://fluffychat.im")];
}
}
......
......@@ -73,7 +73,10 @@ export class Nheko {
getInstallLinks(platform) {
switch (platform) {
case Platform.Linux: return [new FlathubLink("io.github.NhekoReborn.Nheko")];
case Platform.Linux: return [
new FlathubLink("io.github.NhekoReborn.Nheko"),
new WebsiteLink("https://github.com/Nheko-Reborn/nheko/releases/latest"),
];
default: return [new WebsiteLink("https://github.com/Nheko-Reborn/nheko/releases/latest")];
}
}
......
......@@ -44,7 +44,10 @@ export class Quaternion {
getInstallLinks(platform) {
switch (platform) {
case Platform.Linux: return [new FlathubLink("com.github.quaternion")];
case Platform.Linux: return [
new FlathubLink("com.github.quaternion"),
new WebsiteLink("https://github.com/quotient-im/Quaternion/releases/latest"),
];
default: return [new WebsiteLink("https://github.com/quotient-im/Quaternion/releases/latest")];
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment