fix: Windows uyumlulugu - APPDATA config, taskkill
Build Windows / build-windows (push) Has been cancelled

This commit is contained in:
Alhan committed 2026-07-22 06:00:39 +03:00
1 parent d622d0ec04
commit 9a0e89bcea
5 files changed
+12 -3

No files matched your search

+5 -1
View File
@@ -21,7 +21,11 @@ class AppShortcuts extends StatelessWidget {
// Ctrl+Shift+Q: tüm pencereleri kapat
if (ctrl && shift && event.logicalKey == LogicalKeyboardKey.keyQ) {
Process.runSync('pkill', ['imajviewer']);
if (Platform.isWindows) {
Process.runSync('taskkill', ['/F', '/IM', 'imajviewer.exe']);
} else {
Process.runSync('pkill', ['imajviewer']);
}
return KeyEventResult.handled;
}