1
0
mirror of https://github.com/rhysd/Mstdn.git synced 2025-01-21 20:52:11 +01:00

Merge pull request #22 from algernon/f/context-menu

Add a context menu
This commit is contained in:
Linda_pp 2017-05-04 00:30:57 +09:00 committed by GitHub
commit b272c2cb97
2 changed files with 3 additions and 0 deletions

View File

@ -7,6 +7,8 @@ import loadConfig from './config';
// loading this application. We need to disable the callback.
app.removeAllListeners();
require('electron-context-menu')({});
const appReady = new Promise<void>(resolve => app.once('ready', resolve));
process.on('unhandledRejection', (reason: string) => {

View File

@ -52,6 +52,7 @@
"dependencies": {
"electron": "^1.6.8-beta",
"electron-window-state": "^4.1.1",
"electron-context-menu": "^0.9.0",
"loglevel": "^1.4.1",
"menubar": "github:rhysd/menubar#mstdn",
"mousetrap": "^1.6.1"