feat: M5 透明窗+亚克力(FR-A2,BrowserWindow transparent/backgroundMaterial=acrylic,App 根用 var(--bg-primary),透明主题透出亚克力)
This commit is contained in:
@@ -14,6 +14,7 @@ function createWindow() {
|
||||
win = new BrowserWindow({
|
||||
width: 1200, height: 760, minWidth: 900, minHeight: 580,
|
||||
center: true, frame: false, show: false,
|
||||
transparent: true, backgroundColor: '#00000000', backgroundMaterial: 'acrylic',
|
||||
webPreferences: {
|
||||
preload: nodePath.join(__dirname, '../preload/index.mjs'),
|
||||
contextIsolation: true, nodeIntegration: false, sandbox: false
|
||||
|
||||
Reference in New Issue
Block a user