2024-03-13 21:59:09 +01:00
|
|
|
/*
|
|
|
|
|
* Vencord, a Discord client mod
|
|
|
|
|
* Copyright (c) 2024 Vendicated and contributors
|
|
|
|
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
import gitHash from "~git-hash";
|
|
|
|
|
import gitRemote from "~git-remote";
|
|
|
|
|
|
|
|
|
|
export { gitHash, gitRemote };
|
|
|
|
|
|
2025-10-28 20:18:21 -04:00
|
|
|
export const gitHashShort = gitHash.slice(0, 7);
|
2024-04-17 14:29:47 -04:00
|
|
|
export const VENCORD_USER_AGENT = `Equicord/${gitHash}${gitRemote ? ` (https://github.com/${gitRemote})` : ""}`;
|
|
|
|
|
export const VENCORD_USER_AGENT_HASHLESS = `Equicord${gitRemote ? ` (https://github.com/${gitRemote})` : ""}`;
|