From 5d90748b07baa056ad01ad16e898d73c00b43244 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 27 Apr 2026 02:23:34 +0000 Subject: [PATCH 1/2] build(deps): bump dependabot/fetch-metadata from 3.0.0 to 3.1.0 Bumps [dependabot/fetch-metadata](https://github.com/dependabot/fetch-metadata) from 3.0.0 to 3.1.0. - [Release notes](https://github.com/dependabot/fetch-metadata/releases) - [Commits](https://github.com/dependabot/fetch-metadata/compare/v3.0.0...v3.1.0) --- updated-dependencies: - dependency-name: dependabot/fetch-metadata dependency-version: 3.1.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/dependabot-auto-merge.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dependabot-auto-merge.yml b/.github/workflows/dependabot-auto-merge.yml index 669fd6b..b2fecc8 100644 --- a/.github/workflows/dependabot-auto-merge.yml +++ b/.github/workflows/dependabot-auto-merge.yml @@ -13,7 +13,7 @@ jobs: - name: Dependabot metadata id: metadata - uses: dependabot/fetch-metadata@v3.0.0 + uses: dependabot/fetch-metadata@v3.1.0 with: github-token: "${{ secrets.GITHUB_TOKEN }}" From 5d68b3febba4e0c59d8ea26fce6351a7893c97f2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 27 Apr 2026 02:24:08 +0000 Subject: [PATCH 2/2] Build plugin --- .../electron-plugin/dist/server/api/childProcess.js | 9 +++++++-- .../electron/electron-plugin/dist/server/api/menuBar.js | 6 +++++- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/resources/electron/electron-plugin/dist/server/api/childProcess.js b/resources/electron/electron-plugin/dist/server/api/childProcess.js index 8e5187c..e822bd7 100644 --- a/resources/electron/electron-plugin/dist/server/api/childProcess.js +++ b/resources/electron/electron-plugin/dist/server/api/childProcess.js @@ -139,8 +139,13 @@ function stopProcess(alias) { } state.processes[alias].settings.persistent = false; console.log('Process [' + alias + '] stopping with PID [' + proc.pid + '].'); - killSync(proc.pid, 'SIGTERM', true); - proc.kill(); + try { + killSync(proc.pid, 'SIGTERM', true); + proc.kill(); + } + catch (e) { + console.log('Process [' + alias + '] already exited — nothing to kill.'); + } } export function stopAllProcesses() { for (const alias in state.processes) { diff --git a/resources/electron/electron-plugin/dist/server/api/menuBar.js b/resources/electron/electron-plugin/dist/server/api/menuBar.js index 2ff952b..a7ef656 100644 --- a/resources/electron/electron-plugin/dist/server/api/menuBar.js +++ b/resources/electron/electron-plugin/dist/server/api/menuBar.js @@ -56,7 +56,7 @@ router.post('/create', (req, res) => { state.activeMenuBar.tray.destroy(); shouldSendCreatedEvent = false; } - const { width, height, url, label, alwaysOnTop, vibrancy, backgroundColor, transparency, icon, showDockIcon, onlyShowContextMenu, windowPosition, showOnAllWorkspaces, contextMenu, tooltip, resizable, webPreferences, } = req.body; + const { width, height, minWidth, minHeight, maxWidth, maxHeight, url, label, alwaysOnTop, vibrancy, backgroundColor, transparency, icon, showDockIcon, onlyShowContextMenu, windowPosition, showOnAllWorkspaces, contextMenu, tooltip, resizable, webPreferences, } = req.body; if (onlyShowContextMenu) { const tray = new Tray(icon || state.icon.replace('icon.png', 'IconTemplate.png')); tray.setContextMenu(buildMenu(contextMenu)); @@ -81,6 +81,10 @@ router.post('/create', (req, res) => { browserWindow: { width, height, + minWidth, + minHeight, + maxWidth, + maxHeight, resizable, alwaysOnTop, vibrancy,