mirror of
https://github.com/Davilarek/Vencord.git
synced 2025-05-11 09:55:47 +02:00
Vesktop: force disable broken DeepLinks experiment
This commit is contained in:
parent
478699d1b0
commit
8d0256bde8
1 changed files with 23 additions and 0 deletions
23
src/plugins/disableDeepLinks.vesktop/index.ts
Normal file
23
src/plugins/disableDeepLinks.vesktop/index.ts
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
/*
|
||||||
|
* Vencord, a Discord client mod
|
||||||
|
* Copyright (c) 2025 Vendicated and contributors
|
||||||
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
*/
|
||||||
|
|
||||||
|
import { Devs } from "@utils/constants";
|
||||||
|
import definePlugin from "@utils/types";
|
||||||
|
|
||||||
|
export default definePlugin({
|
||||||
|
name: "DisableDeepLinks",
|
||||||
|
description: "Disables Discord stupid DeepLinks experiment which makes the app unusable",
|
||||||
|
authors: [Devs.Ven],
|
||||||
|
required: true,
|
||||||
|
|
||||||
|
patches: [{
|
||||||
|
find: "2025-03_desktop_deeplinks",
|
||||||
|
replacement: {
|
||||||
|
match: /config:{enabled:!0/,
|
||||||
|
replace: "config:{enabled:!1",
|
||||||
|
}
|
||||||
|
}]
|
||||||
|
});
|
Loading…
Add table
Add a link
Reference in a new issue