Using npm start, my app is able to create a folder (in my dev folder) using this:
fs.mkdir(`${__dirname}/logs/`, function(err) {
if (err) console.log(err)
console.log("Done")
});
After using npm run dist (running electron-builder), and then after running the installer, my app is installed to :
C:\Users\myUsername\AppData\Local\Programs\myApp
Now running the installed app, it is unable to create my folder logs in this new directory, why ? (nothing happen)