mirror of
https://gitee.com/eolink_admin/postcat.git
synced 2024-12-03 20:28:14 +08:00
fix: can not minimize with windows
This commit is contained in:
parent
820f80b298
commit
7b3db52f05
@ -128,7 +128,7 @@ try {
|
||||
ipcMain.on('message', function (event, arg) {
|
||||
console.log('recieve render msg=>', arg, arg.action);
|
||||
//only action from mainView can be executed
|
||||
if (event.frameId !== 1) return;
|
||||
// if (event.frameId !== 1) return;
|
||||
switch (arg.action) {
|
||||
case 'minimize': {
|
||||
win.minimize();
|
||||
|
Loading…
Reference in New Issue
Block a user