A launcher for RLBot v5.
Installs and updates rlbotgui.exe and RLBotServer.exe in the %localappdata%/RLBot5
folder.
Updates itself automatically, too.
Make sure you have the rust toolchain installed. Build using cargo build --release
Make sure you have the rust toolchain and cargo-xwin installed. Build using cargo xwin build --release
Once the changes have been committed and the version in Cargo.toml
has been updated, the launcher can be updated by following these steps:
- Run
cargo build --release
(be careful you don't run it, self it will replace itself with the old version) - Create a new GitHub release. Its name must match the version in
Cargo.toml
.
- Install NSIS.
- Right-click on
installer.nsi
and selectCompile NSIS Script
or runmakensis installer.nsi
. - Replace the installer file in the Installer release.
The installer technically only needs to be created once (since the launcher is self-updating), but creating an intaller that installs the newest launcher immediately avoids new users having to restart the launcher on first run.