Remove deprecated package
This commit is contained in:
parent
fb18632c72
commit
71ad2380fa
1 changed files with 3 additions and 10 deletions
|
@ -4,16 +4,9 @@ import {info, window, splash} from '../../../configuration'
|
|||
if (process.env.NODE_ENV === "development") {var devTools = true}
|
||||
else if (process.env.NODE_ENV === 'production') {var devTools =false}
|
||||
|
||||
let mainWindow : BrowserWindow
|
||||
|
||||
const {TitlebarRespect} = require('electron-titlebar-respect')
|
||||
TitlebarRespect({
|
||||
frameLinux: false
|
||||
})
|
||||
|
||||
module.exports = {
|
||||
launch: function() {
|
||||
mainWindow = new BrowserWindow({
|
||||
const mainWindow = new BrowserWindow({
|
||||
title: info.name,
|
||||
width: window.width,
|
||||
height: window.height,
|
||||
|
@ -22,8 +15,8 @@ module.exports = {
|
|||
show: false,
|
||||
autoHideMenuBar: true,
|
||||
transparent: true,
|
||||
frame: global.frame,
|
||||
titleBarStyle: global.titleBarStyle,
|
||||
// frame: global.frame,
|
||||
// titleBarStyle: global.titleBarStyle,
|
||||
vibrancy: 'sidebar', // Window blur effect on macOS
|
||||
backgroundMaterial: 'auto', // Window blur effect on Windows. Note: This method is only supported on Windows 11 22H2 and up.
|
||||
trafficLightPosition: { x: 25, y: 28 }, // Position of Traffic Light buttons on macOS
|
||||
|
|
Loading…
Add table
Reference in a new issue