Skip to content

Commit

Permalink
Build plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
simonhamp authored and github-actions[bot] committed Dec 29, 2024
1 parent e14d68e commit 66af0fe
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions resources/js/electron-plugin/dist/server/api/window.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 66af0fe

Please sign in to comment.