configurable native menu

This commit is contained in:
Jan Prochazka
2022-02-12 10:01:40 +01:00
parent f11d3e134b
commit a1f5d1f230
8 changed files with 57 additions and 29 deletions

View File

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