diff --git a/src/electron/macOSPermissions.ts b/src/electron/macOSPermissions.ts index 6c23937cbb..88706dd23c 100644 --- a/src/electron/macOSPermissions.ts +++ b/src/electron/macOSPermissions.ts @@ -2,7 +2,8 @@ import { systemPreferences, BrowserWindow, dialog } from 'electron'; import { pathExistsSync, mkdirSync, writeFileSync } from 'fs-extra'; import macosVersion from 'macos-version'; import { dirname } from 'path'; -// @ts-expect-error node-mac-permissions is an optional dependency and probably flagged therefore +// eslint-disable-next-line @typescript-eslint/ban-ts-comment, @typescript-eslint/prefer-ts-expect-error +// @ts-ignore import { askForScreenCaptureAccess } from 'node-mac-permissions'; import { userDataPath } from '../environment-remote';