rhysd / electron-about-window

'About This App' mini-window for Electron apps
https://www.npmjs.com/package/about-window
MIT License
409 stars 46 forks source link

More examples, please #44

Open anh1979 opened 4 years ago

anh1979 commented 4 years ago

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

).

anh1979 commented 4 years ago

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.