mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 18:56:00 +00:00
configurable native menu
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user