MacOs: fix DevTools shortcut (#1141)
This commit is contained in:
19
src/renderer/patches/allowDevToolsKeybind.ts
Normal file
19
src/renderer/patches/allowDevToolsKeybind.ts
Normal 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"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
});
|
||||||
@@ -7,6 +7,7 @@
|
|||||||
// TODO: Possibly auto generate glob if we have more patches in the future
|
// TODO: Possibly auto generate glob if we have more patches in the future
|
||||||
import "./enableNotificationsByDefault";
|
import "./enableNotificationsByDefault";
|
||||||
import "./platformClass";
|
import "./platformClass";
|
||||||
|
import "./allowDevToolsKeybind";
|
||||||
import "./hideSwitchDevice";
|
import "./hideSwitchDevice";
|
||||||
import "./hideVenmicInput";
|
import "./hideVenmicInput";
|
||||||
import "./screenShareFixes";
|
import "./screenShareFixes";
|
||||||
|
|||||||
Reference in New Issue
Block a user