8000 wip · NativePHP/electron-plugin@1b43a7d · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Oct 18, 2024. It is now read-only.

Commit 1b43a7d

Browse files
committed
wip
1 parent 33429ae commit 1b43a7d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

dist/server/api/window.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ router.post('/always-on-top', (req, res) => {
5656
res.sendStatus(200);
5757
});
5858
router.post('/open', (req, res) => {
59-
let { id, x, y, frame, width, height, minWidth, minHeight, maxWidth, maxHeight, focusable, hasShadow, url, resizable, movable, minimizable, maximizable, closable, title, alwaysOnTop, titleBarStyle, vibrancy, backgroundColor, transparency, showDevTools, fullscreen, kiosk, } = req.body;
59+
let { id, x, y, frame, width, height, minWidth, minHeight, maxWidth, maxHeight, focusable, hasShadow, url, resizable, movable, minimizable, maximizable, closable, title, alwaysOnTop, titleBarStyle, vibrancy, backgroundColor, transparency, showDevTools, fullscreen, kiosk, autoHideMenuBar, } = req.body;
6060
if (state_1.default.windows[id]) {
6161
state_1.default.windows[id].show();
6262
state_1.default.windows[id].focus();
@@ -80,7 +80,8 @@ router.post('/open', (req, res) => {
8080
hasShadow,
8181
titleBarStyle,
8282
vibrancy,
83-
focusable, autoHideMenuBar: true }, (process.platform === 'linux' ? { icon: state_1.default.icon } : {})), { webPreferences: {
83+
focusable,
84+
autoHideMenuBar }, (process.platform === 'linux' ? { icon: state_1.default.icon } : {})), { webPreferences: {
8485
backgroundThrottling: false,
8586
spellcheck: false,
8687
preload: preloadPath,

0 commit comments

Comments
 (0)
0