MacOs: fix DevTools shortcut (#1141)

This commit is contained in:
Ryan Cao
2025-04-04 13:39:55 +00:00
committed by GitHub
parent 3c87c89b3a
commit 765ffc0b57
2 changed files with 20 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
/*
* Vesktop, a desktop app aiming to give you a snappier Discord Experience
* Copyright (c) 2025 Vendicated and Vesktop contributors
* SPDX-License-Identifier: GPL-3.0-or-later
*/
import { addPatch } from "./shared";
addPatch({
patches: [
{
find: '"mod+alt+i"',
replacement: {
match: /"discord\.com"===location\.host/,
replace: "false"
}
}
]
});

View File

@@ -7,6 +7,7 @@
// TODO: Possibly auto generate glob if we have more patches in the future
import "./enableNotificationsByDefault";
import "./platformClass";
import "./allowDevToolsKeybind";
import "./hideSwitchDevice";
import "./hideVenmicInput";
import "./screenShareFixes";