From f709d6f3e8a3834c0d215f90873170a4568a7223 Mon Sep 17 00:00:00 2001 From: zontreck Date: Mon, 25 Nov 2024 00:56:27 -0700 Subject: [PATCH] Attempt to fix a command not being found --- lib/structs/settings.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/structs/settings.dart b/lib/structs/settings.dart index f779d4c..2eba897 100644 --- a/lib/structs/settings.dart +++ b/lib/structs/settings.dart @@ -380,7 +380,8 @@ class Settings { } } - Process.runSync("echo", ["X", ">", "cxinit"]); + Process.runSync("echo", ["X", ">", "cxinit"], + workingDirectory: Directory.current.path); proc = await Process.start("steamcmd.exe", ["+quit"]); print("Completed.");