chore(keybinds): fix linting

This commit is contained in:
D3SOX 2024-02-01 16:12:44 +01:00
parent 913403c05b
commit 8b301a1584
No known key found for this signature in database
GPG key ID: 39EC1673FC37B048
2 changed files with 3 additions and 2 deletions

View file

@ -11,12 +11,12 @@ import { checkUpdates } from "updater/main";
import { DATA_DIR } from "./constants";
import { createFirstLaunchTour } from "./firstLaunch";
import { registerKeybindsHandler } from "./keybinds";
import { createWindows, mainWin } from "./mainWindow";
import { registerMediaPermissionsHandler } from "./mediaPermissions";
import { registerScreenShareHandler } from "./screenShare";
import { Settings, State } from "./settings";
import { isDeckGameMode } from "./utils/steamOS";
import { registerKeybindsHandler } from "./keybinds";
if (IS_DEV) {
require("source-map-support").install();

View file

@ -24,7 +24,8 @@ addPatch({
find: "Messages.KEYBIND_IN_BROSWER_NOTICE",
replacement: [
{
match: /(\i)\.isPlatformEmbedded/,
// eslint-disable-next-line no-useless-escape
match: /\i\.isPlatformEmbedded/,
replace: "true"
}
]