Files
ElectronUpdater/Proof/README.md
2023-02-13 09:19:09 -05:00

934 B

Where I found to configure a custom build https://gist.github.com/layerssss/5d7b69c0f8c6e54e8b501e6e0fe36186

there is a bit of tooling to setup. there is also some things to consider

  • required to publish
  • required in location build/elctron-publish-custom.js
  • main.js autoUpdater.on methods

I discovered if the publish folder is in the root, the build kept adding all those files to the installer The installer didn't put them anywhere that I found. The installer was greater than 1 gb when I noticed. The build was taking a lot of time until I moved the publish folder.

I feel the installer should be per user. The per machine requires administrative access.

I was able to work out the process that allowed the autoupdater to run before the window is shown. We should display a window that an update is downloading. This will keep the user from clicking multiple times. That can be displayed in the update-available event.