mirror of
https://github.com/rhysd/Mstdn.git
synced 2024-11-28 20:24:10 +01:00
Add a context menu
Fixes #21. Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
This commit is contained in:
parent
8f60edd353
commit
5163f82b34
@ -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) => {
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user