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 e3010a0 commit 368427cCopy full SHA for 368427c
resources/js/electron-plugin/src/server/api/app.ts
@@ -2,6 +2,11 @@ import express from 'express'
2
import { app } from 'electron'
3
const router = express.Router();
4
5
+router.post('/quit', (req, res) => {
6
+ app.quit()
7
+ res.sendStatus(200);
8
+});
9
+
10
router.post('/show', (req, res) => {
11
app.show()
12
res.sendStatus(200);
0 commit comments