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

Description
Problem Description
After packaging my Electron app for production, the min/max/close buttons show as undefined due to
Steps to Reproduce
- Integrate
custom-electron-titlebar into https://github.com/electron-react-boilerplate/electron-react-boilerplate
- Run
npm run package
- Run the installer in the
release/build directory
- Installed app should have the noticed issues
Expected Behavior
The icons should display correctly.
Current Behavior

Additional Information
This is running on Windows 11.
Tentative Solution Steps
This seems to be due to incorrect OS detection in src/base/common/platform.ts. I was able to resolve this issue myself with this commit: Incanta@ba16f79