mirror of
https://github.com/GitSquared/edex-ui.git
synced 2024-09-21 10:37:29 +00:00
parent
ec8e383b89
commit
732153b231
@ -1103,7 +1103,7 @@ document.addEventListener("keydown", e => {
|
||||
|
||||
// Fix #265
|
||||
window.addEventListener("keyup", e => {
|
||||
if (e.key === "F4" && e.altKey === true) {
|
||||
if (require("os").platform() === "win32" && e.key === "F4" && e.altKey === true) {
|
||||
electron.remote.app.quit();
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user