mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-16 09:57:08 -04:00
refactor shared utils to more obviously separate contexts
This commit is contained in:
parent
9aa205b5ec
commit
afdcf0edb9
21 changed files with 32 additions and 33 deletions
12
src/shared/vencordUserAgent.ts
Normal file
12
src/shared/vencordUserAgent.ts
Normal file
|
@ -0,0 +1,12 @@
|
|||
/*
|
||||
* 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 };
|
||||
|
||||
export const VENCORD_USER_AGENT = `Vencord/${gitHash}${gitRemote ? ` (https://github.com/${gitRemote})` : ""}`;
|
Loading…
Add table
Add a link
Reference in a new issue