Windows rcon fix

This commit is contained in:
zontreck 2024-11-25 00:20:29 -07:00
parent a425128ac2
commit a762e3d4c0
3 changed files with 5 additions and 3 deletions

View file

@ -305,8 +305,10 @@ class Settings {
}
Future<bool> sendRconCommand(String command) async {
bool wine = await requiresWine();
try {
Process.run("/app/rcon", [
Process.run(wine ? "/app/rcon" : "C:\\rcon.exe", [
"-H",
"127.0.0.1",
"-p",