Display both flathub and website download links for Linux
Signed-off-by: Aaron Raimist <aaron@raim.ist>
This commit is contained in:
@@ -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")];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user