diff options
author | Ven <vendicated@riseup.net> | 2022-10-23 23:23:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-23 23:23:52 +0200 |
commit | 5fac8be0ae68cbbdf3514973cbf925a31a765ef5 (patch) | |
tree | 8c184e0a2a9c8f4480e4c3880a58833e089a3da6 /src/utils/constants.ts | |
parent | ffbb52512cd61764cfe04c1cf2707eb63d5e57bf (diff) | |
download | Vencord-5fac8be0ae68cbbdf3514973cbf925a31a765ef5.tar.gz Vencord-5fac8be0ae68cbbdf3514973cbf925a31a765ef5.tar.bz2 Vencord-5fac8be0ae68cbbdf3514973cbf925a31a765ef5.zip |
Vencord Standalone without git/node (#148)
Diffstat (limited to 'src/utils/constants.ts')
-rw-r--r-- | src/utils/constants.ts | 4 |
1 files changed, 4 insertions, 0 deletions
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 <https://www.gnu.org/licenses/>. */ +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({ |