Skip to content

Commit cd424a5

Browse files
committed
feat: add context menu into webview
1 parent f07a25a commit cd424a5

File tree

5 files changed

+168
-42
lines changed

5 files changed

+168
-42
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@
9494
"@arco-design/web-react": "^2.44.1",
9595
"ahooks": "^3.7.5",
9696
"allotment": "^1.18.0",
97+
"electron-context-menu": "^3.6.1",
9798
"electron-debug": "^3.2.0",
9899
"electron-log": "^4.4.8",
99100
"electron-updater": "^5.3.0",

pnpm-lock.yaml

Lines changed: 106 additions & 40 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import path from 'path';
1212
import { app, BrowserWindow, shell, ipcMain } from 'electron';
1313
import { autoUpdater } from 'electron-updater';
1414
import log from 'electron-log';
15-
import MenuBuilder from './menu';
15+
import { MenuBuilder } from './menu';
1616
import { resolveHtmlPath } from './util';
1717
import { initWebviewManager } from './webviewManager';
1818

0 commit comments

Comments
 (0)