electron-builder icon indicating copy to clipboard operation
electron-builder copied to clipboard

[Windows] electron-updater is downloading files to C//users/runneradmin instead user folder

Open ivukasinovic opened this issue 7 months ago • 1 comments

  • Electron-Builder Version:

  • 24.6.4

  • Node Version: 18

  • Electron Version:

  • 25.1.0

  • Electron Type (current, beta, nightly):

  • Current

  • **electron-updater 6.1.4

  • Target:
  • Windows

The updater is always creating C://Users/runneradmin and putting there update files instead of the current user folder. I have issues for clients without permission to read files outside their folder.

I checked logs and got this: "Cannot download differentially, fallback to full download: Error: ENOENT: no such file or directory, open 'C:\Users\runneradmin\AppData\Local\appName

I'm building app on github actions and using keygen as version repository.

Does anyone know whats the issue here?

ivukasinovic avatar Nov 13 '23 15:11 ivukasinovic

There's a new property in electron-builder disableDifferentialDownload for nsis. Would you be willing to try that out and see if that resolves the issue? I recognize that it does disable different downloading, but curious if that's the issue or if the entire download/install process has an issue with the target tmp directory

mmaietta avatar Jan 12 '24 18:01 mmaietta

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.

github-actions[bot] avatar Mar 15 '24 00:03 github-actions[bot]

This issue was closed because it has been stalled for 30 days with no activity.

github-actions[bot] avatar Apr 14 '24 00:04 github-actions[bot]