Commit 08e79797 authored by dev0tion's avatar dev0tion

Add context menu

parent 97de9197
......@@ -19,6 +19,10 @@ if (serve) {
});
}
require('electron-context-menu')({
showInspectElement: serve
});
// Keep a global reference of the window object, if you don't, the window will
// be closed automatically when the JavaScript object is garbage collected.
let mainWindow = null;
......
......@@ -54,6 +54,7 @@
"@ng-bootstrap/ng-bootstrap": "^1.0.0-alpha.27",
"angular2-material-datepicker": "^0.5.0",
"core-js": "^2.4.1",
"electron-context-menu": "^0.9.1",
"ngx-clipboard": "^8.0.3",
"rxjs": "5.4.1",
"zone.js": "^0.8.12"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment