forked from Vencord/Installer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
constants.go
45 lines (39 loc) · 1.28 KB
/
constants.go
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
/*
* SPDX-License-Identifier: GPL-3.0
* Vencord Installer, a cross platform gui/cli app for installing Vencord
* Copyright (c) 2023 Vendicated and Vencord contributors
*/
package main
import (
"image/color"
"vencordinstaller/buildinfo"
)
const ReleaseUrl = "https://api.github.com/repos/philhk/Vencord/releases/latest"
const ReleaseUrlFallback = "https://vencord.dev/releases/vencord"
const InstallerReleaseUrl = "https://api.github.com/repos/philhk/Installer/releases/latest"
const InstallerReleaseUrlFallback = "https://vencord.dev/releases/installer"
var UserAgent = "VencordInstaller/" + buildinfo.InstallerGitHash + " (https://github.com/Vencord/Installer)"
var (
DiscordGreen = color.RGBA{R: 0x2D, G: 0x7C, B: 0x46, A: 0xFF}
DiscordRed = color.RGBA{R: 0xEC, G: 0x41, B: 0x44, A: 0xFF}
DiscordBlue = color.RGBA{R: 0x58, G: 0x65, B: 0xF2, A: 0xFF}
DiscordYellow = color.RGBA{R: 0xfe, G: 0xe7, B: 0x5c, A: 0xff}
)
var LinuxDiscordNames = []string{
"Discord",
"DiscordPTB",
"DiscordCanary",
"DiscordDevelopment",
"discord",
"discordptb",
"discordcanary",
"discorddevelopment",
"discord-ptb",
"discord-canary",
"discord-development",
// Flatpak
"com.discordapp.Discord",
"com.discordapp.DiscordPTB",
"com.discordapp.DiscordCanary",
"com.discordapp.DiscordDevelopment",
}