mirror of
https://github.com/keeweb/keeweb.git
synced 2024-06-27 07:45:08 +02:00
fix for electron v1.0.1
This commit is contained in:
parent
201ad00c49
commit
d7124164be
|
@ -114,7 +114,9 @@ function createMainWindow() {
|
|||
});
|
||||
setMenu();
|
||||
mainWindow.loadURL(htmlPath);
|
||||
mainWindow.setContentProtection(true);
|
||||
if (mainWindow.setContentProtection) {
|
||||
mainWindow.setContentProtection(true);
|
||||
}
|
||||
mainWindow.webContents.on('dom-ready', () => {
|
||||
setTimeout(() => {
|
||||
mainWindow.show();
|
||||
|
|
Loading…
Reference in New Issue
Block a user