How do i add more images and text to about panel in Electron?

274 Views Asked by At

I am developing an app in Electron and am currently working on the about panel. The problem is there is more text I want to put into the panel in separate lines and I do not know how to do that. Also Is there a way to add more images like you see on iTunes when you hit about?

-

app.setAboutPanelOptions({
  applicationName: "Hubris",
  applicationVersion: "Beta version 1.0.0",
  version: "Build 3.5.5",
  credits: "Ethan Koehler-Bryant",
  copyright: "© 2019 Koehler Games. All rights reserved."
});
1

There are 1 best solutions below

0
ChrisG On BEST ANSWER

This library should have all the functionality you need.

openAboutWindow({
  icon_path: 'path/to/icon.png'
});

https://github.com/rhysd/electron-about-window

If you need more freedom, there is the ability to inject your own custom html as well using use_inner_html.