hide app download button in server list

This commit is contained in:
Vendicated 2025-02-07 03:54:37 +01:00
parent d75ab4af1c
commit 523f657b3b
No known key found for this signature in database
GPG key ID: D66986BAF75ECF18
2 changed files with 20 additions and 0 deletions

View file

@ -0,0 +1,19 @@
/*
* SPDX-License-Identifier: GPL-3.0
* Vesktop, a desktop app aiming to give you a snappier Discord Experience
* Copyright (c) 2023 Vendicated and Vencord contributors
*/
import { addPatch } from "./shared";
addPatch({
patches: [
{
find: '"app-download-button"',
replacement: {
match: /return(?=.{0,50}id:"app-download-button")/,
replace: "return null;return"
}
}
]
});

View file

@ -14,3 +14,4 @@ import "./spellCheck";
import "./windowsTitleBar"; import "./windowsTitleBar";
import "./streamerMode"; import "./streamerMode";
import "./nativeFocus"; import "./nativeFocus";
import "./hideDownloadAppsButton";