breach / thrust

Chromium-based cross-platform / cross-language application framework
MIT License
2.77k stars 121 forks source link

Harmonize Thrust executable location #264

Open francisbouvier opened 9 years ago

francisbouvier commented 9 years ago

Hi,

Currently Thrust executable location depends on witch binding you use:

I think it will be good to harmonize all at $HOME/.thrust/$VERSION/

Why:

What do you think ?

miketheprogrammer commented 9 years ago

Thrust-Go has a SpawnProvisioner Interface. The SpawnProvisioner controls how to check/download/execute/manage a thrust executable. I may change the default to be more Harmonized however, my goal is that users are not actually using the auto download capabilities, and instead packaging the thrust exe with final installs.

francisbouvier commented 9 years ago

@miketheprogrammer I agree that for end users we need to provide everything (including the Thrust exe) in a bundle app.

But for developers I believe the best way is to share the Thrust exe. For the Go binding it's already the case, but for the node and python bindings this is not (except if you sudo pip install or npm -g install but this not very common).

And it's better to have a consistent approach across all bindings of how the Thrust exe is handled.