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

@ -1,3 +1,3 @@
class Consts {
static const VERSION = "1.1.112424.2344";
static const VERSION = "1.1.112524.0020";
}

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",

View file

@ -16,7 +16,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
# In Windows, build-name is used as the major, minor, and patch parts
# of the product and file versions while build-number is used as the build suffix.
version: 1.1.112424+2344
version: 1.1.112524+0020
environment:
sdk: ">=3.1.4 <4.0.0"