1
1
mirror of https://github.com/Fabio286/antares.git synced 2025-06-05 21:59:22 +02:00

feat(UI): shortcuts info on empty query tab

This commit is contained in:
2021-08-03 17:59:15 +02:00
parent 372049ae64
commit 70354aa828
6 changed files with 55 additions and 4 deletions

View File

@ -1,6 +1,6 @@
'use strict';
import { app, BrowserWindow, /* session, */ nativeImage } from 'electron';
import { app, BrowserWindow, /* session, */ nativeImage, Menu } from 'electron';
import * as path from 'path';
import Store from 'electron-store';
@ -96,6 +96,7 @@ else {
// create main BrowserWindow when electron is ready
app.on('ready', async () => {
mainWindow = await createMainWindow();
Menu.setApplicationMenu(null);
if (isDevelopment)
mainWindow.webContents.openDevTools();
});