I need to keep some files (like my data.db file) when installing electron app, I can copy and paste it after installation of .exe
, but is better to have it by default.
Is the a way to configure electron builder to keep files or directories after installation in the installation path?
Solved using the extraFiles option: https://www.electron.build/configuration/contents#extrafiles