Closed mquevill closed 3 years ago
Perhaps the defaults set here should be marked with a TODO comment while waiting for Electron to set defaults?
👍 Always good to add TODOs for future possible improvements (and include links to relevant issues)
I'm ok with this. Feel free to update the docs (and index.d.ts)
Since defaults don't exist for Linux in the base Electron package (https://github.com/electron/electron/issues/18918), I figure that
showAboutWindow()
could set some of these defaults and then use the standard About dialog. Until the defaults are standardized by the Electron (https://github.com/electron/electron/issues/23851), this would be a way to get consistency across Windows and Linux.The documentation would need to be updated to reflect these changes, which I can add after the changes are finalized.
Example using Caprine: About window on
main
branch: With this PR: Addingcopyright
andwebsite
to Caprine's about menu:[Note: This does not fix the icon getting messed up when packaged into a .deb file.]
Perhaps the defaults set here should be marked with a
TODO
comment while waiting for Electron to set defaults?