NFive / nfpm

NFive Plugin Manager
GNU General Public License v3.0
3 stars 10 forks source link

Retrieving Linux Server artifacts #32

Closed killian-mahe closed 4 years ago

killian-mahe commented 4 years ago

The way the lastest linux server artifact is retrieved doesn't work and isn't optimized :

https://github.com/NFive/nfpm/blob/f033d9accdc8e684f8d1e47850fb851aa1a46c8f/src/Modules/Setup.cs#L205-L244

There is a mistake when the Regex expression is applied. Linux artifacts aren't zipped in .zip but in tar.xz. Furthermore, with the new interface, it's clearly easier to retrieved the latest recommended version (Not necessary the latest released) as there is a specific button :

image

It's easy to locate this button with his class and get is href url.

JoeBiellik commented 4 years ago

The Linux fix is in and I added a --fivem-version switch so the user can pick the version to use.