forked from Vencord/Installer
-
Notifications
You must be signed in to change notification settings - Fork 4
/
constants.go
47 lines (39 loc) · 1.36 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
46
47
/*
* 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"
// these are replaced by the linker
var InstallerGitHash = "Unknown"
var InstallerTag = "Unknown"
const ReleaseUrl = "https://api.github.com/repos/StupidityDB/VencordPlus/releases/latest"
const ReleaseUrlFallback = "https://vencord.dev/releases/vencord"
const InstallerReleaseUrl = "https://api.github.com/repos/StupidityDB/VencordPlusInstaller/releases/latest"
const InstallerReleaseUrlFallback = "https://vencord.dev/releases/installer"
var UserAgent = "VencordInstaller/" + 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",
}