update in-app-menu

This commit is contained in:
Araxeus
2022-02-06 03:32:15 +02:00
parent 61eb23614a
commit 09bd271df2
5 changed files with 29 additions and 21 deletions

View File

@ -1,8 +1,8 @@
const customTitlebar = require("custom-electron-titlebar");
const { Titlebar, Color } = require("custom-electron-titlebar");
module.exports = () => {
new customTitlebar.Titlebar({
backgroundColor: customTitlebar.Color.fromHex("#050505"),
new Titlebar({
backgroundColor: Color.fromHex("#050505"),
minimizable: false,
maximizable: false,
menu: null