Skip to content
This repository has been archived by the owner on Feb 16, 2024. It is now read-only.

Explicitly call the provisoner #306

Open
true-zero opened this issue Feb 1, 2021 · 3 comments
Open

Explicitly call the provisoner #306

true-zero opened this issue Feb 1, 2021 · 3 comments
Assignees
Labels

Comments

@true-zero
Copy link
Contributor

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.

@asticode asticode self-assigned this Feb 1, 2021
@asticode
Copy link
Owner

asticode commented Feb 1, 2021

@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

@true-zero
Copy link
Contributor Author

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

@asticode
Copy link
Owner

asticode commented Feb 4, 2021

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 ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants