Windows rcon fix
This commit is contained in:
parent
a425128ac2
commit
a762e3d4c0
3 changed files with 5 additions and 3 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue