mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-18 21:15:16 +02:00
feat(menu, dev-tools): enhance menu with view options and enable dev tools in development mode
This commit is contained in:
parent
98697f1dd6
commit
bf4e60d224
5 changed files with 27 additions and 4 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import { BrowserWindow, clipboard, globalShortcut, ipcMain, screen, shell } from 'electron';
|
||||
import { app, BrowserWindow, clipboard, globalShortcut, ipcMain, screen, shell } from 'electron';
|
||||
import path from 'path';
|
||||
import { IPC_CHANNELS } from '../ipc/channels';
|
||||
import { checkAccessibilityPermission, getFrontmostApp, simulateCopy, simulatePaste } from './platform';
|
||||
|
|
@ -51,6 +51,7 @@ function createQuickAskWindow(x: number, y: number): BrowserWindow {
|
|||
contextIsolation: true,
|
||||
nodeIntegration: false,
|
||||
sandbox: true,
|
||||
devTools: !app.isPackaged,
|
||||
},
|
||||
show: false,
|
||||
skipTaskbar: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue