Fix remote import

This commit is contained in:
Janosch Maier 2021-11-29 18:38:21 +01:00 committed by Ben Gotow
parent f0f19c1c26
commit 45f3ebfabd

View file

@ -22,7 +22,7 @@ class PreferencesGeneral extends React.Component<{
};
_onReboot = () => {
const app = const { BrowserWindow } = require('@electron/remote').app;
const app = require('@electron/remote').app;
app.relaunch();
app.quit();
};