This commit is contained in:
parent
d3420c98ce
commit
ffe669d901
2
main.js
2
main.js
|
|
@ -318,7 +318,7 @@ app.on('ready', () => {
|
|||
transparent: true,
|
||||
})
|
||||
child.loadURL(config.url)
|
||||
childWindow[key] = child
|
||||
childWindow[config.key] = child
|
||||
child.once('ready-to-show', () => {
|
||||
child.show()
|
||||
child.setSize(config.width, config.height)
|
||||
|
|
|
|||
|
|
@ -5,7 +5,6 @@ const ShareScreenWindow: React.FC = () => {
|
|||
useEffect(() => {
|
||||
|
||||
}, []);
|
||||
|
||||
// window.electron.createChildWindow({
|
||||
// url: location.origin + `/#/shareScreenWindow`,
|
||||
// width: 600,
|
||||
|
|
|
|||
Loading…
Reference in New Issue