diff --git a/resources/js/electron-plugin/dist/server/api/window.js b/resources/js/electron-plugin/dist/server/api/window.js index 5234a65..d53665f 100644 --- a/resources/js/electron-plugin/dist/server/api/window.js +++ b/resources/js/electron-plugin/dist/server/api/window.js @@ -79,6 +79,13 @@ router.post('/hide', (req, res) => { } return res.sendStatus(200); }); +router.post('/show', (req, res) => { + const { id } = req.body; + if (state.windows[id]) { + state.windows[id].show(); + } + return res.sendStatus(200); +}); router.post('/always-on-top', (req, res) => { var _a; const { id, alwaysOnTop } = req.body;