Settings: add option 2 exclude Vencord when copying version info (#4103)
This commit is contained in:
parent
edd9e3be4c
commit
38487020df
1 changed files with 6 additions and 0 deletions
|
|
@ -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");
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue