Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tiger2005 committed May 4, 2022
1 parent abb158e commit db0ca22
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,6 @@ app.on('ready', function() {
enableRemoteModule: true
}
});
mainWindow .hookWindowMessage(278, function(e) {
mainWindow.blur();
mainWindow.focus();
mainWindow.setEnabled(false);
setTimeout(() => {
mainWindow.setEnabled(true);
}, 100);
return true;
})
mainWindow.setMenu(null)
mainWindow.setMaximizable(false)
mainWindow.setResizable(false)
Expand Down

0 comments on commit db0ca22

Please sign in to comment.