BeamMP-Server icon indicating copy to clipboard operation
BeamMP-Server copied to clipboard

[Feature Request] Autoupdate

Open lionkor opened this issue 2 years ago • 5 comments

The servers should allow the server owner to update the server, possibly with a command like server-update.

lionkor avatar Mar 14 '22 00:03 lionkor

@lionkor did you get this working yesterday?

Starystars67 avatar Dec 29 '23 20:12 Starystars67

@Starystars67 yep this works, tested on debian, arch, and tested the windows specifics on windows separately. Needs testing on windows

lionkor avatar Dec 29 '23 21:12 lionkor

How would i go about testing on windows?

O1LER avatar Dec 29 '23 22:12 O1LER

Best would be if I just gave you a build that pretends to be outdated... I'll post one here when I get a chance on a Windows PC today or tomorrow. The alternative is to build it yourself, you only need Visual Studio (not VS Code) with all the C++ stuff that comes with it installed. Then the steps to build it are in the repo, but youll need basic knowledge of how to operate visual studio with CMake instead of the classic solutions. Then you change the version number in include/Common.h from { 3, 2, 0 } to something smaller. Then run the server with the commandline flag --update. Just in case someone wants to do that until I post such a version here ;)

lionkor avatar Dec 29 '23 22:12 lionkor

So i would checkout dev branch but modify it on its version, so it updates itself. Ill try that tomorrow, for fun and science 😁

O1LER avatar Dec 29 '23 22:12 O1LER