mirror of
https://github.com/Mintplex-Labs/nut.js.git
synced 2026-07-16 09:34:33 -04:00
49f146494e
* (#559) Adjust getRegion implementation It’ll now cut off window regions at the borders of the main screen, avoiding errors due to out of bounds regions * (#559) Moved window e2e test into dedicated e2e subpackage
7 lines
156 B
JavaScript
7 lines
156 B
JavaScript
const { ipcRenderer } = require("electron");
|
|
|
|
const close = document.getElementById("exit");
|
|
close.onclick = () => {
|
|
ipcRenderer.send("main", "quit");
|
|
};
|