1
Fork 0
mirror of https://github.com/redstrate/Kawari.git synced 2025-06-20 23:17:45 +00:00

Advertise in all retail lobbies instead of just Aether in LauncherTweaks

This should make it somewhat nicer for non-American users.
This commit is contained in:
Joshua Goins 2025-06-18 20:03:41 -04:00
parent e175bd072e
commit 7d6c8a8c14
2 changed files with 2 additions and 2 deletions

View file

@ -4,4 +4,4 @@ disable_boot_version_check = true
force_http = true
game_patch_server = "{{ game_patch_server }}"
boot_patch_server = "{{ boot_patch_server }}"
extra_game_arguments = " /DEV.LobbyHost04 =127.0.0.1 /DEV.LobbyPort04 ={{ lobby_port }}"
extra_game_arguments = " /DEV.LobbyHost01 ={{ lobby_host }} /DEV.LobbyPort01 ={{ lobby_port }} /DEV.LobbyHost02 ={{ lobby_host }} /DEV.LobbyPort02 ={{ lobby_port }} /DEV.LobbyHost03 ={{ lobby_host }} /DEV.LobbyPort03 ={{ lobby_port }} /DEV.LobbyHost04 ={{ lobby_host }} /DEV.LobbyPort04 ={{ lobby_port }} /DEV.LobbyHost05 ={{ lobby_host }} /DEV.LobbyPort05 ={{ lobby_port }} /DEV.LobbyHost06 ={{ lobby_host }} /DEV.LobbyPort06 ={{ lobby_port }} /DEV.LobbyHost07 ={{ lobby_host }} /DEV.LobbyPort07 ={{ lobby_port }} /DEV.LobbyHost08 ={{ lobby_host }} /DEV.LobbyPort08 ={{ lobby_port }} /DEV.LobbyHost09 ={{ lobby_host }} /DEV.LobbyPort09 ={{ lobby_port }} /DEV.LobbyHost10 ={{ lobby_host }} /DEV.LobbyPort10 ={{ lobby_port }} /DEV.LobbyHost11 ={{ lobby_host }} /DEV.LobbyPort11 ={{ lobby_port }} /DEV.LobbyHost12 ={{ lobby_host }} /DEV.LobbyPort12 ={{ lobby_port }} "

View file

@ -107,7 +107,7 @@ async fn launcher_config(Query(params): Query<Params>) -> String {
let environment = setup_default_environment();
let template = environment.get_template("launchertweaks.toml").unwrap();
template
.render(context! { launcher_url => config.launcher.server_name, enable_webview2 => params.r#type != "webview2", game_patch_server => config.patch.game_server_name, boot_patch_server => config.patch.boot_server_name, lobby_port => config.lobby.port })
.render(context! { launcher_url => config.launcher.server_name, enable_webview2 => params.r#type != "webview2", game_patch_server => config.patch.game_server_name, boot_patch_server => config.patch.boot_server_name, lobby_port => config.lobby.port, lobby_host => config.lobby.listen_address })
.unwrap()
}