Settings: add option 2 exclude Vencord when copying version info (#4103)

This commit is contained in:
JustABrian 2026-05-04 13:09:55 +02:00 • committed by GitHub
parent edd9e3be4c
commit 38487020df
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -89,6 +89,11 @@ const settings = definePluginSettings({
{ label: "Below Activity Settings", value: "belowActivity" },
{ label: "At the very bottom", value: "bottom" },
] as { label: string; value: SettingsLocation; default?: boolean; }[]
},
includeVencordInfoWhenCopying: {
type: OptionType.BOOLEAN,
description: "Also copy Vencord info (Vencord, Electron, Chromium) when clicking the version info in the bottom left area of the Settings page",
default: true
}
});
@ -295,6 +300,7 @@ export default definePlugin({
},
getInfoString() {
if (!settings.store.includeVencordInfoWhenCopying) return "";
return "\n" + this.getInfoRows().join("\n");
},