Equicord Dev: Dev -> Dev Build
This commit is contained in:
parent
83357c5dfa
commit
381d17c58d
3 changed files with 4 additions and 4 deletions
|
|
@ -37,11 +37,11 @@ export const settingVariables = [
|
|||
"{equicordIcon} - Equicord icon",
|
||||
"{equicordVersion} - Version of Equicord (e.g. 1.0.0)",
|
||||
"{equicordHash} - Equicord build hash (e.g. 123456789)",
|
||||
"{equicordPlatform} - Platform Equicord is running on (e.g. Dev)",
|
||||
"{equicordPlatform} - Platform Equicord is running on (e.g. Dev Build)",
|
||||
"",
|
||||
"Equibop Specific Variables:",
|
||||
"{equibopHash} - Equibop build hash (e.g. 123456789)",
|
||||
"{equibopPlatform} - Platform Equibop is running on (e.g. Dev)",
|
||||
"{equibopPlatform} - Platform Equibop is running on (e.g. Dev Build)",
|
||||
"",
|
||||
"Client Variables:",
|
||||
"{clientIcon} - Desktop icon",
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ export function makeDevBanner(state?: string): string | JSX.Element {
|
|||
.replace(/{clientName}/g, clientInfo.name)
|
||||
.replace(/{clientVersion}/g, `v${clientInfo?.version ?? "0.0.0"}`)
|
||||
.replace(/{equibopHash}/g, clientInfo.shortHash ?? "Not Supported")
|
||||
.replace(/{equibopPlatform}/g, `v${clientInfo?.dev ? "DevBuild" : "Standalone"}`)
|
||||
.replace(/{equibopPlatform}/g, `v${clientInfo?.dev ? "Dev Build" : "Standalone"}`)
|
||||
.replace(/\\n|{newline}/g, "__NEWLINE__");
|
||||
|
||||
if (!replaced.includes("__NEWLINE__") && !/{.*Icon}/.test(baseFormat)) {
|
||||
|
|
|
|||
|
|
@ -457,7 +457,7 @@ export default definePlugin({
|
|||
getVersionInfo(support = true) {
|
||||
let version = "";
|
||||
|
||||
if (IS_DEV) version = "Dev";
|
||||
if (IS_DEV) version = "Dev Build";
|
||||
if (IS_WEB) version = "Web";
|
||||
if (IS_VESKTOP) version = `Vesktop v${VesktopNative.app.getVersion()}`;
|
||||
if (IS_EQUIBOP) version = `Equibop v${VesktopNative.app.getVersion()}`;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue