FlyDangerous
FlyDangerous copied to clipboard
Helpers for Lutris installer
I wrote an installer for the game in lutris
2 things could make it easier :
- Make a tar.gz file instead of a zip, with fly_dangerous.x86_64 set to executable (to remove the chmodx directive)
- Having a static link that redirects to the latest build release (to avoid updating the installer script for each new release)
FYI, here is the installer script
files:
- gh_zip: https://github.com/jukibom/FlyDangerous/releases/download/v0.5.4/FlyDangerous-0.5.4-linux.zip
game:
exe: flydangerous.x86_64
installer:
- extract:
dst: $GAMEDIR
src: gh_zip
- chmodx: $GAMEDIR/flydangerous.x86_64
I have never used lutris before (I mainly use linux for work) so this is all news to me!
As for the other things, handling the executable bit would be a bit of a pain on windows but I can take a look. The static link though may be easier if linking to
https://github.com/jukibom/FlyDangerous/releases/latest/download/FlyDangerous-linux.tar.gz
and I can remove the version text from github zip files in future? If you wanna do that I'll leave this ticket open and ping you on the next major release 👍
The executable bit is not the worst thing, as there is a command for Lutris to do that 😄
But if you remove the version text in the file (at least for the Linux version), then I can use the link you provided (I didn't knew you can put "latest" as release 👍 )
After next release, I'll update the installer script, so it will always download the latest version
Amazing, I'll ping you here when the next one is up :D
@mioux I didn't forget about this! The new version goes up today (in about 6 hours, roughly) BUT it's too large for the max github filesize so there's two files
fly-dangerous-linux.tar.gz.001
fly-dangerous-linux.tar.gz.002
I hope that'll still work...
I have changed the installer. It will work until there is a third file to download :smile:
It's not visible for now as it has to be submitted for aproval before public release
Thank you