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:
- Bump the version in 
Cargo.toml. - Run 
cargo build --release(be careful you don't run it as it will replace itself with the old version) - Create a new GitHub release and upload the exe. The release name must match the version in 
Cargo.toml. 
- Install NSIS.
 - Run 
cargo build --release. - Right-click on 
installer.nsiand selectCompile NSIS Scriptor 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.