Not really. The most platform-specific code I've got in my app is 1) the CI install instructions that use brew rather than apt-get [0] and 2) what exists in the application menu [1].
For packaging, electron-packager [2] handles everything else platform specific. So my Windows, Linux, and macOS builds share the exact same script [3]. The result gets zipped and uploaded to the relevant Github release page.
[0] https://github.com/multiprocessio/datastation/blob/master/.g...
[1] https://github.com/multiprocessio/datastation/blob/master/de...
[2] https://github.com/electron/electron-packager
[3] https://github.com/multiprocessio/datastation/blob/master/de...