Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
kianzarrin committed Oct 5, 2021
1 parent 289b421 commit f54b2f0
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions LoadOrderMod/Util/CheckSubsUtil.cs
Original file line number Diff line number Diff line change
Expand Up @@ -166,14 +166,12 @@ public class CheckSubsUtil : MonoBehaviour {
}

public static void ReDownload(IEnumerable<ulong> ids, FileInfo steam) {
Log.Called(ids, steam);
return;
Assertion.Assert(steam.Exists);
string steamDir = steam.DirectoryName;
string steamExe = steam.Name;
void ExecuteSteam(string args) => Execute(steamDir, steamExe, args).WaitForExit();
try {
Log.Called(ids);
Log.Called(ids, steam);
Assertion.Assert(steam.Exists);
string steamDir = steam.DirectoryName;
string steamExe = steam.Name;
void ExecuteSteam(string args) => Execute(steamDir, steamExe, args).WaitForExit();
ExecuteSteam("steam://open/console"); // so that user can see what is happening.
foreach (var id in ids)
ExecuteSteam($"+workshop_download_item 255710 {id}");
Expand Down

0 comments on commit f54b2f0

Please sign in to comment.