Try to fix command not found on windows with cmd/C

This commit is contained in:
zontreck 2024-11-25 01:07:03 -07:00
parent f709d6f3e8
commit d4a772b6d2
3 changed files with 4 additions and 4 deletions

View file

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

View file

@ -380,10 +380,10 @@ class Settings {
}
}
Process.runSync("echo", ["X", ">", "cxinit"],
Process.runSync("cmd", ["/C", "echo", "X", ">", "cxinit"],
workingDirectory: Directory.current.path);
proc = await Process.start("steamcmd.exe", ["+quit"]);
proc = await Process.start("cmd", ["/C", "steamcmd.exe", "+quit"]);
print("Completed.");
} else {
// Download tgz file

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.112524+0020
version: 1.1.112524+0106
environment:
sdk: ">=3.1.4 <4.0.0"