started adding copay shell to copay
This commit is contained in:
parent
45ffa94bbe
commit
e7c5addfab
19 changed files with 781 additions and 3 deletions
16
shell/lib/system-tray.js
Normal file
16
shell/lib/system-tray.js
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
/*
|
||||
** copay-shell - system tray integration
|
||||
*/
|
||||
|
||||
var Menu = require('menu');
|
||||
var Tray = require('tray');
|
||||
var tray = new Tray('../assets/copay.icns');
|
||||
|
||||
module.exports = function(app, web) {
|
||||
|
||||
var menu = Menu.buildFromTemplate([]);
|
||||
|
||||
tray.setToolTip('Copay');
|
||||
tray.setContextMenu(menu);
|
||||
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue