When I update an Electron app using the electron-builder autoUpdater, all the file storage I defined is overwritten. What settings do I need to make these files persist? Here is an MCVE example (for the main process): In this example I’d like the file persistentFile to persist across updates, so that it contains the number generated from the first version.
Tag: electron-builder
electron-builder doesn’t create a release in GitHub when publish is set to always, though there are no errors
I am trying to publish an electron app to my GitHub repository’s releases. Here is my package.json When I run the npm run deploy script, I expect it to create a release called v1.0.1 in the GitHub repository, but nothing happens. electron-builder’s output doesn’t show any error. Here is the console output: As you can see from the last two
Electron notarisation failed due to The binary uses an SDK older than the 10.9 SDK
We are trying to notarise the electron app but I’m getting this error.The versions which we are using are electron: 3.0.6, electron-builder”: “^21.2.0 Answer By installing some dependencies and moving some dependency to dev-dependencies worked for me. In my case, electron-publisher-s3 I moved this package to dev dependency. This ticket helped me Link
Window does not render on build, works fine in development server
My app does not display a window when it’s built, but works fine when I run npm run serve There is still an process running in task manager, and the same thing happens if I use the installer. I don’t get any errors warnings from electron-builder. background.js: I tried the fixes here and here to no avail. I’m using electron-vue.