mirror of
https://github.com/cyberarm/w3d_hub_linux_launcher.git
synced 2025-12-16 09:12:35 +00:00
Fixed unable to join non-renlike games due to the way that Process.spawn arguments are wrapped in quotes, enriched server game balance indictator
This commit is contained in:
@@ -152,10 +152,7 @@ class W3DHub
|
||||
if installed?(app_id, channel) && Store.settings[:server_list_username].to_s.length.positive?
|
||||
run(
|
||||
app_id, channel,
|
||||
"-launcher",
|
||||
"+connect #{server.address}:#{server.port}",
|
||||
"+netplayername \"#{Store.settings[:server_list_username]}\"",
|
||||
password ? "+password \"#{password}\"" : ""
|
||||
"-launcher +connect #{server.address}:#{server.port} +netplayername #{Store.settings[:server_list_username]}#{password ? " +password \"#{password}\"" : ""}"
|
||||
)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user