Skip to content

Commit

Permalink
feat(menu): new context menu with copy/paste
Browse files Browse the repository at this point in the history
  • Loading branch information
DEgITx committed Feb 8, 2018
1 parent 395a30e commit 2bf8970
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
"bitfield": "^1.1.2",
"debug": "^3.1.0",
"diskusage": "^0.2.4",
"electron-context-menu": "^0.9.1",
"fs-jetpack": "^1.2.0",
"iconv-lite": "^0.4.19",
"ipaddr.js": "^1.5.4",
Expand Down
3 changes: 3 additions & 0 deletions src/background/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ const { spawn, exec } = require('child_process')
const fs = require('fs')
const iconv = require('iconv-lite');

// plugins and dev tool
require('electron-context-menu')({})

const setApplicationMenu = () => {
const menus = [editMenuTemplate, settingsMenuTemplate, aboutMenuTemplate];
if (env.name !== "production") {
Expand Down

0 comments on commit 2bf8970

Please sign in to comment.