Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The icon option crashes the toolbar #234

Open
crystalfp opened this issue Aug 8, 2023 · 0 comments
Open

The icon option crashes the toolbar #234

crystalfp opened this issue Aug 8, 2023 · 0 comments

Comments

@crystalfp
Copy link

crystalfp commented Aug 8, 2023

Describe the bug
If I put the icon in index.html the toolbar shows it on the left side. If I put it in the options, the entire toolbar disappears.

To Reproduce
Steps to reproduce the behavior:

  1. Add the following code in preload.is
new CustomTitlebar({
icon: nativeImage.createFromPath("<dir>/favicon.ico")
})

Cannot check the documentation right now, I'm on vacation with minimal connection

Expected behavior
A clear and concise description of what you expected to happen.
Well,that it works

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. Windows] windows
  • Electron version [e.g. 16.0.0] 25.4.0
  • Node Version [e.g. 14.0] 18.15.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant