When developing an Electron app with a custom titlebar, you have to keep mind other operating systems. With this, you can distrubed to all platforms in one go without having to change your code for each OS to fit the design of their desktop.
This repository has been archived on 2023-04-23. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Korbs Studio 895bd6ec30 Update README.md 2023-01-05 22:14:11 -05:00
.gitignore update 2022-07-01 14:00:05 -04:00
LICENSE Update LICENSE 2022-01-06 02:03:37 -05:00
README.md Update README.md 2023-01-05 22:14:11 -05:00
index.html Remove CSS file, only background change needed 2022-07-01 14:00:18 -04:00
main.js Add `trafficLightPosition` for macOS 2022-07-01 14:00:30 -04:00
package-lock.json Bump Electron to `19.0.7` 2022-07-01 14:00:48 -04:00
package.json Bump Electron to `19.0.7` 2022-07-01 14:00:48 -04:00

Use the NPM Package instead

This template has been converted into a NPM Package as of January 5th, 2023.

https://code.korbsstudio.com/KorbsStudio/electron-titlebar-respect

Electron Titlebar OS Detection

When developing an Electron app with a custom titlebar, you have to keep mind other operating systems. With this, you can distrubed to all platforms in one go without having to change your code for each OS to fit the design of their desktop.