Use patched frameless-titlebar on Windows

This commit is contained in:
Fedor Indutny 2022-06-08 15:00:32 -07:00 committed by GitHub
parent 79c52847cd
commit 5634601554
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
54 changed files with 1343 additions and 323 deletions

View file

@ -3,7 +3,7 @@
import React from 'react';
import ReactDOM from 'react-dom';
import { contextBridge, ipcRenderer } from 'electron';
import { contextBridge } from 'electron';
import { SignalContext } from '../context';
@ -40,7 +40,7 @@ contextBridge.exposeInMainWorld('SignalContext', {
}
function onClose() {
ipcRenderer.send('close-permissions-popup');
SignalContext.executeMenuRole('close');
}
ReactDOM.render(