-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathright-menu-config.js
36 lines (35 loc) · 931 Bytes
/
right-menu-config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
const { ipcMain } = require('electron');
const { app, shell } = require('electron');
module.exports = [
{
label: 'Launcher Mods v' + app.getVersion(),
},
{
label: 'Reload',
role: 'reload',
},
{
label: 'Sair',
role: 'quit',
},
{ type: 'separator' },
{
label: 'Redes Sociais',
submenu: [
{
label: 'YouTube',
click: () => {
shell.openExternal('https://www.youtube.com/@renildomarcio'); // Substitua pela sua URL
log.log('Apertou no youtube.');
}
},
{
label: 'GitHub',
click: () => {
shell.openExternal('https://github.com/psycodeliccircus'); // Substitua pela sua URL
log.log('Apertou no github.');
}
}
]
},
]