diff --git a/lib/consts.dart b/lib/consts.dart index ddcfbd7..3b696e2 100644 --- a/lib/consts.dart +++ b/lib/consts.dart @@ -1,3 +1,3 @@ class Consts { - static const VERSION = "1.1.112524.0020"; + static const VERSION = "1.1.112524.0106"; } diff --git a/lib/structs/settings.dart b/lib/structs/settings.dart index 2eba897..cfbc67a 100644 --- a/lib/structs/settings.dart +++ b/lib/structs/settings.dart @@ -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 diff --git a/pubspec.yaml b/pubspec.yaml index 9ada8ab..5852088 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -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"