asticode/go-astilectron

Explicitly call the provisoner

Opened this issue · 3 comments

Is there anyway to explicitly call the provisoner or some way to monitor the progress of the download to avoid appearing like the application is doing nothing for a while? This problem is only really noticeable when the user has slow internet speeds.

@true-zero I see 2 options :

  • implement your own Provisioner that would monitor download progress and use SetProvisioner
  • use the bundler with the bootstrap since they embed the resources in the binary directly, therefore once the user has the binary, he/she doesn't an internet connexion to run it

go-astilectron-bundler seems to download from GitHub rather than use my local version, is there anyway I can override this behaviour?

go-astilectron-bundler downloads resources and stores them in a cache folder so that it doesn't download them on the next bundles. Therefore it should only happen once. Are you experiencing something else ? If so, could you paste bundler logs ?