Make fuck

This commit is contained in:
2025-06-28 01:51:19 +02:00
parent 1ebfcc5cc3
commit f7a2d0e4ee
2 changed files with 4 additions and 2 deletions

View File

@@ -8,6 +8,7 @@
"permissions": [
"core:default",
"opener:default",
"core:window:allow-close",
"core:window:allow-minimize"
]
}

View File

@@ -653,9 +653,10 @@ const Index = () => {
// Minimize the window
try {
const win = await Window.getCurrent();
await win.minimize();
await win.close();
} catch (error) {
console.error('Failed to minimize window:', error);
console.error('Failed to close window:', error);
}
}
} catch (error) {