From 5fac8be0ae68cbbdf3514973cbf925a31a765ef5 Mon Sep 17 00:00:00 2001 From: Ven Date: Sun, 23 Oct 2022 23:23:52 +0200 Subject: Vencord Standalone without git/node (#148) --- src/utils/constants.ts | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/utils/constants.ts') diff --git a/src/utils/constants.ts b/src/utils/constants.ts index eccd3e3..30c07ba 100644 --- a/src/utils/constants.ts +++ b/src/utils/constants.ts @@ -16,8 +16,12 @@ * along with this program. If not, see . */ +import gitHash from "~git-hash"; +import gitRemote from "~git-remote"; + export const WEBPACK_CHUNK = "webpackChunkdiscord_app"; export const REACT_GLOBAL = "Vencord.Webpack.Common.React"; +export const VENCORD_USER_AGENT = `Vencord/${gitHash}${gitRemote ? ` (https://github.com/${gitRemote})` : ""}`; // Add yourself here if you made more than one plugin export const Devs = Object.freeze({ -- cgit