Questions tagged [electron-updater]

69 questions
2
votes
1 answer

Electron app increases in size with every build

I have an Electron app (made with angular) and with this template: https://github.com/iffy/electron-updater-example Every time I run the electron builder command, the app itself increases in size by a couple 10MB. It happens the same when I build in…
AlesSvetina
  • 403
  • 3
  • 6
  • 19
2
votes
1 answer

How to release the electron app with only modified modules/files?

I am using electron builder to package the app and releasing on github private repository and also implemented electron-updater to update the app automatically in background, everything is working fine. but the problem is each time i am releasing…
2
votes
3 answers

How to get My Electron Auto updater to work?

I'm trying to get my Electron Vue.js aplication to update itself when i release a new update in my Github Repro. I'm packing my app using "electron-builder" and here is my package.json I was following this guide but it didn't work. This is the Code…
ScarVite
  • 327
  • 1
  • 5
  • 19
2
votes
1 answer

function quitAndInstall of electron-updater

As this post : Electron auto update fails silently when installing update on Windows I can't install my new update :( check update, download is good but during installation of the update, the progress bar fills up halfway, then disappears. The app…
2
votes
0 answers

Error: Error: Unsupported provider: undefined in electron js

I have developed a electron js app with angular .I want to have electron-updater.But its giving me above error . this is my package.json { "name": "Gamer", "version": "1.0.1", "main": "main.js", "dependencies": { ...}, "devDependencies":…
Karthi
  • 3,019
  • 9
  • 36
  • 54
2
votes
2 answers

Is there a way to set up electron-builder auto-updater to check for updates from Google Cloud Storage?

I would like to use the autoUpdater from electron-builder to update my apps. I'm not using Github Releases because I have a private repo and don't want to include the GH_TOKEN for security purposes. Instead I want to put the binaries and the…
1
vote
0 answers

Electron forge - create latest.yml for electron-updater

I have migrated our ReactJS app to Electron forge using webpack. Now I have created .exe file but I'm strugling with electron-updater bacause of missing latest.yml file. How do I create this file with electron-forge make so electron-updater can…
user2014521
  • 155
  • 11
1
vote
1 answer

Electron-updater: TypeError: Cannot read properties of undefined (reading 'setClosable')

After updating the libraries I am unable to update my app from a generic provider. Electron locates the update on GitHub, but stops thereafter with the following message: 21:26.389] [info] App starting... : 1:28.518] [info] controllando se ci sono…
Jean
  • 453
  • 4
  • 16
1
vote
0 answers

Electron app not getting installed after quitandinstall function

I am using electron auto updater to get my app updated whenever a new version is available. I am using aws as my generic provider. The problem i am facing is the app detects a new version and download it successfully but when i call quitAndInstall()…
1
vote
1 answer

Progress event for electron-updater quitAndInstall method

Does electron-updater quitAndInstall() method emmit an installation progress event? My client is asking for a progress bar while the update is installing but I don't see anything in the docs. Note: I'm not referring to the update download progress…
Jeandré
  • 136
  • 10
1
vote
1 answer

Electron-updater cannot find module 'fs/promises'

I have a problem that electron-updater cannot find module 'fs/promises'. All another solutions don`t help me. Here is my log. Error: Cannot find module 'fs/promises' Require stack: -…
1
vote
1 answer

Error ZIP file not provided - autoUpdate on mac using electron-updater dmg

I have a mac dmg target installer set up with electron-updater, when my app detects update I get an error in the logs saying that ZIP file not provided. Not sure how to solve this? EDIT: In the docs it says "Defaults to default (dmg and zip for…
Ibra
  • 912
  • 1
  • 12
  • 31
1
vote
3 answers

Electron autoUpdate app using electron-updater with github private repo

What I have Done: I packaged my electron app using electron-builder. I used electron forge typescript & webpack template to create my electron app. The Error: Cannot find asset "app-setup-21.6.9.exe" in:…
Ibra
  • 912
  • 1
  • 12
  • 31
1
vote
1 answer

Persistent file storage across electon app updates with electron-builder electron-updater

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): const { app, BrowserView,…
Lee
  • 29,398
  • 28
  • 117
  • 170
1
vote
1 answer

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 { "name": "sample-electron-app", "version": "1.0.1", "description": "", "main": "index.js", "scripts": { "test": "echo \"Error: no test…