update
parent
14b27fb326
commit
c8c73747ad
|
@ -73,11 +73,9 @@ exports.createDesktopLrcWindow = function(screen) {
|
||||||
frame: false,
|
frame: false,
|
||||||
resizable: false,
|
resizable: false,
|
||||||
alwaysOnTop: true,
|
alwaysOnTop: true,
|
||||||
|
skipTaskbar: true,
|
||||||
x: (screen.size.width - 1024) / 2,
|
x: (screen.size.width - 1024) / 2,
|
||||||
y: screen.size.height - 100,
|
y: screen.size.height - 100,
|
||||||
skipTaskbar: true,
|
|
||||||
hasShadow: false,
|
|
||||||
thickFrame: false,
|
|
||||||
transparent: true,
|
transparent: true,
|
||||||
show: false
|
show: false
|
||||||
})
|
})
|
||||||
|
@ -97,13 +95,10 @@ exports.createMiniWindow = function(screen) {
|
||||||
frame: false,
|
frame: false,
|
||||||
resizable: false,
|
resizable: false,
|
||||||
alwaysOnTop: true,
|
alwaysOnTop: true,
|
||||||
|
skipTaskbar: true,
|
||||||
x: screen.size.width - 320,
|
x: screen.size.width - 320,
|
||||||
y: 0,
|
y: 0,
|
||||||
skipTaskbar: true,
|
show: false
|
||||||
show: false,
|
|
||||||
webPreferences: {
|
|
||||||
devTools: false
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
|
|
||||||
win.loadURL('app://local/mini-win.html')
|
win.loadURL('app://local/mini-win.html')
|
||||||
|
|
Reference in New Issue