mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 17:46:00 +00:00
custom titlebar POC
This commit is contained in:
@@ -27,6 +27,10 @@ class ElectronApi {
|
||||
await this.ipcRenderer.invoke('openExternal', url);
|
||||
}
|
||||
|
||||
async isNativeMenu() {
|
||||
await this.ipcRenderer.invoke('isNativeMenu');
|
||||
}
|
||||
|
||||
async invoke(route, args) {
|
||||
const res = await this.ipcRenderer.invoke(route, args);
|
||||
return res;
|
||||
|
||||
Reference in New Issue
Block a user