Skip to content

Commit dd7bbc7

Browse files
committed
feat: add 'Ver atualizações' menu item and rename existing menu labels.
1 parent dd2fffe commit dd7bbc7

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

application/src/main.js

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -273,32 +273,36 @@ function buildTrayMenu() {
273273
},
274274
{ type: "separator" },
275275
{
276-
label: "Abrir Configurações",
276+
label: "Configurações",
277277
accelerator: "CmdOrCtrl+,",
278278
click: () => {
279279
mainWindow?.show();
280280
mainWindow?.focus();
281281
},
282282
},
283+
{ type: "separator" },
283284
// {
284-
// label: `Iniciar Gravação ${hotkeyDisplay}`,
285+
// label: `Modo de Visibilidade`,
285286
// enabled: !isRecording,
286287
// click: () => {
287-
// if (!isRecording) {
288-
// startRecording();
289-
// }
288+
// CONFIG.visibility = !CONFIG.visibility;
290289
// },
291290
// },
292-
{ type: "separator" },
293291
{
294-
label: "Sobre Push to Talk",
292+
label: "Ver atualizações",
293+
click: () => {
294+
// app.showAboutPanel();
295+
},
296+
},
297+
{
298+
label: "Sobre",
295299
click: () => {
296300
app.showAboutPanel();
297301
},
298302
},
299303
{ type: "separator" },
300304
{
301-
label: "Sair",
305+
label: "Fechar Push to Talk",
302306
// accelerator: "CmdOrCtrl+Q", // Disabled to prevent global shortcut from triggering quit directly
303307
click: () => {
304308
isExplicitQuit = true;

0 commit comments

Comments
 (0)