-
Notifications
You must be signed in to change notification settings - Fork 15
/
links.ts
72 lines (67 loc) · 1.8 KB
/
links.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
import { ReactNode } from "react";
import { Tux, Windows, FreeBSD, Apple } from "./components/logos";
export const discord = "https://discord.gg/rabs2GZd8b";
export const github = "https://github.com/chatterino/chatterino2";
export const tip = "https://streamelements.com/fourtf/tip";
export const wiki = "https://wiki.chatterino.com";
export const nightly =
"https://github.com/Chatterino/chatterino2/releases/tag/nightly-build";
export const allDownloads = "download";
export const currentVersion = "2.5.1";
export const baseDownloadLink = `https://chatterino.fra1.digitaloceanspaces.com/bin`;
const dl = `https://chatterino.fra1.digitaloceanspaces.com/bin/${currentVersion}`;
export const allVersions = [
"2.1.0",
"2.1.4",
"2.1.5-4",
"2.1.6",
"2.1.7",
"2.2.0",
"2.2.1",
"2.2.2-fix",
"2.2.3-beta2",
"2.3.0",
"2.3.1",
"2.3.2",
"2.3.3",
"2.3.4",
"2.3.5",
"2.4.0",
"2.4.1",
"2.4.2",
"2.4.3",
"2.4.4",
"2.4.5",
"2.4.6",
"2.5.0",
"2.5.1",
];
export const allV1Versions = [
"0.2.6.4",
"1.0.9",
"1.1.0.0",
"1.2.11",
"1.2.12",
"1.2.13",
"1.2.3.0",
"1.2.4",
"1.2.5",
"1.2.6",
"1.2.8",
"1.2.9",
"1.3.2",
"1.3",
];
export type DownloadType = [() => JSX.Element, string, string];
export const windows: DownloadType = [
Windows,
`${currentVersion} for Windows 64-Bit`,
`${dl}/Chatterino%20Installer.exe`,
];
export const linux: DownloadType = [Tux, "Linux", "linux"];
export const freeBsd: DownloadType = [FreeBSD, "FreeBSD", "freebsd"];
export const macOs: DownloadType = [Apple, "macOS", `${dl}/Chatterino.dmg`];
export const windowsPortable = `${dl}/Chatterino%20Portable.zip`;
export const linuxAppimageUrl = `${dl}/Chatterino-x86_64.AppImage`;
export const linuxBuildFromSource =
"https://github.com/Chatterino/chatterino2/blob/master/BUILDING_ON_LINUX.md";