mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-12-27 19:07:15 +08:00
Fix remote import
This commit is contained in:
parent
f0f19c1c26
commit
45f3ebfabd
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue