MobiFlight / MobiFlight-Connector

MobiFlight is an open source project that allows you to create your own home cockpit for your favorite flight simulator in a flexible, affordable and extremely user-friendly way.
https://mobiflight.com
MIT License
231 stars 104 forks source link

Download HubHop Events as part of the MobiFlight Release Build Script #614

Open MobiFlight-Admin opened 2 years ago

MobiFlight-Admin commented 2 years ago

Is your feature request related to a problem? Please describe. Right now it is a manual process to add the most recent version of HubHop events to the MobiFlight Release. This is cumbersome and I regularly forget to do it.

Describe the solution you'd like As part of the build script that is triggered when building in Release-mode, the hubhop export api is called and all three files

Describe alternatives you've considered Still do it manually.

Additional context

JaimeLeon2 commented 2 years ago

Because the Hubhop database grows continuously, updating at build time can still install an outdated set of events files, as many weeks or even months can pass between releases. Another alternative instead of making the hubhop events update part of the build, make it part of the installation procedure. Once MF is installed, make a call to the same procedure as if the user had pressed the option in Extras - Msfs2020 - Download latest events (Hubhop). This would ensure always getting the latest in every installation.

DocMoebiuz commented 1 year ago

good idea.

DocMoebiuz commented 1 year ago

even better we could fetch hubhop presets any time they change with a similar (or improved) logic like we have it on hubhop.