electron-userland/electron-builder

allow changing electron-updater download (cache) directory

aabuhijleh opened this issue · 5 comments

  • Version: 22.4.0
  • electron-updater version: 4.2.4
  • Target: Windows NSIS

Use Case

Some IT environments don't allow apps to execute files from some locations like %localappdata%

To workaround this issue, I'm using a fork of electron-updater and editing the getAppCacheDir function

I think it would be nice to add this as an option

for example:

autoUpdater.cacheDir = A_SUITABLE_CACHE_LOCATION

Thanks!

stale commented

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

This issue is still relevant. Not being able to change the download location of updates is blocking for some environments. I believe that the maintainer can hopefully integrate this change without much difficulty.

stale commented

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

the system user folder
C:/Windows/system32/config/systemprofile/AppData/Local/{xxxx}pending/
can't running the installer for updater
anyone can helpful this?