native menu, fullscreen refactor

This commit is contained in:
Jan Prochazka
2022-02-26 14:04:18 +01:00
parent 9267ca326f
commit 7b8c0be044
14 changed files with 77 additions and 165 deletions

View File

@@ -26,11 +26,6 @@ class ElectronApi {
await this.ipcRenderer.invoke('openExternal', url);
}
async useNativeMenu() {
const res = await this.ipcRenderer.invoke('useNativeMenu');
return res;
}
async invoke(route, args) {
const res = await this.ipcRenderer.invoke(route, args);
return res;