Skip to content
This repository was archived by the owner on Sep 13, 2024. It is now read-only.

Commit c53b78c

Browse files
committed
Merge branch 'develop' of https://github.com/AlexTorresSk/custom-electron-titlebar into develop
2 parents ff3319e + 75a5846 commit c53b78c

File tree

3 files changed

+3
-8452
lines changed

3 files changed

+3
-8452
lines changed

example/preload.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ window.addEventListener('DOMContentLoaded', () => {
2121

2222
ipcRenderer.on('renderer-titlebar', (event, menu) => {
2323
titlebar = new Titlebar({
24-
backgroundColor: Color.fromHex("#45322E"),
25-
icon: new URL(path.join(__dirname, '/assets/images', '/icon.svg')),
24+
backgroundColor: Color.fromHex("#388e3c"),
25+
icon: path.join(__dirname, '/assets/images', '/icon.svg'),
2626
menu: menu,
2727
onMinimize: () => ipcRenderer.send('window-event', 'window-minimize'),
2828
onMaximize: () => ipcRenderer.send('window-event', 'window-maximize'),

0 commit comments

Comments
 (0)