Skip to content

Commit

Permalink
chore(keybinds): fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
D3SOX committed Feb 1, 2024
1 parent 913403c commit 8b301a1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
3 changes: 2 additions & 1 deletion src/renderer/patches/keybinds.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
]
Expand Down

0 comments on commit 8b301a1

Please sign in to comment.