rhysd/electron-about-window

More examples, please

anh1979 opened this issue · 1 comments

I try to use this in my electron application, but I would like to exchange the about.html as well as the referenced style. I use electron-packager to build my .exe for windows.

Could you provide some examples how the file structure of the project has to be and how the path variables have to be set in order to get this done?
I tried
icon_path: path.join(__dirname, '/../assets/icons/png/64x64.png') --> works
css_path: path.join(__dirname, '/../assets/css/style.css') --> doesn't work (it says DevTools was disconnected from page, and About-Info window is blank.

Bildschirmfoto 2019-10-01 um 07 49 57

).

Also a more template like pattern would be practical - like setting placeholders in the about html. For example I would like to not combine Appname and Version in 'title', but instead use two different html elements, to be more flexible.