mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Fix bug with file moving in manual mode
This commit is contained in:
parent
cb667ed4f8
commit
040289f16c
@ -98,7 +98,8 @@ namespace Wabbajack.Lib.Downloaders
|
||||
.Select(x => x.FirstOrDefault())
|
||||
.FirstOrDefaultAsync();
|
||||
Process.Start(Url);
|
||||
watcher.Wait();
|
||||
|
||||
abs_path = watcher.Wait()?.FullPath;
|
||||
if (!File.Exists(abs_path))
|
||||
throw new InvalidDataException($"File not found after manual download operation");
|
||||
File.Move(abs_path, destination);
|
||||
|
Loading…
Reference in New Issue
Block a user