Skip to content

Commit 66af0fe

Browse files
simonhampgithub-actions[bot]
authored andcommitted
Build plugin
1 parent e14d68e commit 66af0fe

File tree

1 file changed

+7
-0
lines changed
  • resources/js/electron-plugin/dist/server/api

1 file changed

+7
-0
lines changed

resources/js/electron-plugin/dist/server/api/window.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,13 @@ router.post('/hide', (req, res) => {
7979
}
8080
return res.sendStatus(200);
8181
});
82+
router.post('/show', (req, res) => {
83+
const { id } = req.body;
84+
if (state.windows[id]) {
85+
state.windows[id].show();
86+
}
87+
return res.sendStatus(200);
88+
});
8289
router.post('/always-on-top', (req, res) => {
8390
var _a;
8491
const { id, alwaysOnTop } = req.body;

0 commit comments

Comments
 (0)