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

Add macOS and Windows install links for Quaternion and Nheko


Signed-off-by: default avatarAaron Raimist <aaron@raim.ist>
parent 7d22a578
No related branches found
No related tags found
No related merge requests found
...@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and ...@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
*/ */
import {Maturity, Platform, LinkKind, FlathubLink, 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. * Information on how to deep link to a given matrix client.
...@@ -72,8 +72,9 @@ export class Nheko { ...@@ -72,8 +72,9 @@ export class Nheko {
} }
getInstallLinks(platform) { getInstallLinks(platform) {
if (platform === Platform.Linux) { switch (platform) {
return [new FlathubLink("io.github.NhekoReborn.Nheko")]; case Platform.Linux: return [new FlathubLink("io.github.NhekoReborn.Nheko")];
default: return [new WebsiteLink("https://github.com/Nheko-Reborn/nheko/releases/latest")];
} }
} }
......
...@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and ...@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
*/ */
import {Maturity, Platform, LinkKind, FlathubLink, style} from "../types.js"; import {Maturity, Platform, LinkKind, FlathubLink, WebsiteLink, style} from "../types.js";
export class Quaternion { export class Quaternion {
get id() { return "quaternion"; } get id() { return "quaternion"; }
...@@ -43,8 +43,9 @@ export class Quaternion { ...@@ -43,8 +43,9 @@ export class Quaternion {
} }
getInstallLinks(platform) { getInstallLinks(platform) {
if (platform === Platform.Linux) { switch (platform) {
return [new FlathubLink("com.github.quaternion")]; case Platform.Linux: return [new FlathubLink("com.github.quaternion")];
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