We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f54e18a commit f7f1a6dCopy full SHA for f7f1a6d
src/classes/window.ts
@@ -109,7 +109,7 @@ export class Window {
109
if (platform() === "win32") {
110
addon.showWindow(this.id, "minimize");
111
} else if (platform() === "darwin") {
112
- addon.setWindowMinimized(this.id, this.processId, true);
+ addon.setWindowMinimized(this.id, true);
113
}
114
115
@@ -119,7 +119,7 @@ export class Window {
119
120
addon.showWindow(this.id, "restore");
121
122
- addon.setWindowMinimized(this.id, this.processId, false);
+ addon.setWindowMinimized(this.id, false);
123
124
125
0 commit comments