chore(keybinds): fix linting
This commit is contained in:
parent
913403c05b
commit
8b301a1584
2 changed files with 3 additions and 2 deletions
|
@ -11,12 +11,12 @@ import { checkUpdates } from "updater/main";
|
||||||
|
|
||||||
import { DATA_DIR } from "./constants";
|
import { DATA_DIR } from "./constants";
|
||||||
import { createFirstLaunchTour } from "./firstLaunch";
|
import { createFirstLaunchTour } from "./firstLaunch";
|
||||||
|
import { registerKeybindsHandler } from "./keybinds";
|
||||||
import { createWindows, mainWin } from "./mainWindow";
|
import { createWindows, mainWin } from "./mainWindow";
|
||||||
import { registerMediaPermissionsHandler } from "./mediaPermissions";
|
import { registerMediaPermissionsHandler } from "./mediaPermissions";
|
||||||
import { registerScreenShareHandler } from "./screenShare";
|
import { registerScreenShareHandler } from "./screenShare";
|
||||||
import { Settings, State } from "./settings";
|
import { Settings, State } from "./settings";
|
||||||
import { isDeckGameMode } from "./utils/steamOS";
|
import { isDeckGameMode } from "./utils/steamOS";
|
||||||
import { registerKeybindsHandler } from "./keybinds";
|
|
||||||
|
|
||||||
if (IS_DEV) {
|
if (IS_DEV) {
|
||||||
require("source-map-support").install();
|
require("source-map-support").install();
|
||||||
|
|
|
@ -24,7 +24,8 @@ addPatch({
|
||||||
find: "Messages.KEYBIND_IN_BROSWER_NOTICE",
|
find: "Messages.KEYBIND_IN_BROSWER_NOTICE",
|
||||||
replacement: [
|
replacement: [
|
||||||
{
|
{
|
||||||
match: /(\i)\.isPlatformEmbedded/,
|
// eslint-disable-next-line no-useless-escape
|
||||||
|
match: /\i\.isPlatformEmbedded/,
|
||||||
replace: "true"
|
replace: "true"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
Reference in a new issue