blt4linux / blt4l

PAYDAY 2 SteamOS/Linux LUA loader.
Other
57 stars 14 forks source link

[suggestion] Adding Auto-updates to BLT4L #81

Open dribbleondo opened 7 years ago

dribbleondo commented 7 years ago

Since Paydaymods allows for autoupdates, Thought it would be a good idea to allow for auto-updating within Payday 2 itself. I have a profile on paydaymods that'll allow me to push updates when BLT4L updates.

It'd be as simple as changing the download identifier (and the revision) in base.lua from "payday2bltdll" to "payday2blt4lso" or something similar.

RomanHargrave commented 6 years ago

This is one of the reasons I added the version API. It would still need more info to get correct prebuilts, but it would eliminate the need for a base mod fork if BLT4W would adopt it, and the base mod would pick which to update based on it.

RomanHargrave commented 6 years ago

83 may hold a solution

BangL commented 6 years ago

this situation changed with blt 2.0. the blt4w does not update the dll anymore, instead it just informs about the hash mismatch and then opens a link in the browser: https://github.com/JamesWilko/Payday-2-BLT-Lua/blob/a3f66fed69e54cc55aee78d12de198d171540385/mods/base/lua/MenuManager.lua#L159

RomanHargrave commented 6 years ago

lovely

more platform-specific code in BLT lua