Skip to content

Commit

Permalink
修复:分离窗口不显示问题
Browse files Browse the repository at this point in the history
  • Loading branch information
modstart committed Dec 17, 2024
1 parent 42f1614 commit dd9186b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions electron/mapi/manager/window/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ export const ManagerWindow = {
trafficLightPosition: {x: 10, y: 11},
title: view._plugin.title,
resizable: true,
frame: true,
frame: false,
show: false,
transparent: false,
enableLargerThanScreen: true,
Expand Down Expand Up @@ -367,7 +367,7 @@ export const ManagerWindow = {
});
DevToolsManager.register(`DetachWindow.${view._plugin.name}`, win)
const pluginJson = JSON.parse(JSON.stringify(view._plugin))
win.once('ready-to-show', async () => {
win.webContents.once('did-finish-load', async () => {
await executeDarkMode(win, {
isSystem: true
})
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "focusany",
"version": "0.1.0-beta",
"main": "dist-electron/main/index.js",
"description": "FocusAnyPro",
"description": "FocusAny",
"author": "ModStartLib",
"license": "AGPL-3.0",
"private": true,
Expand Down

0 comments on commit dd9186b

Please sign in to comment.