Find the latest patcher download when moving patcher to cache
This commit is contained in:
parent
1f9ace4763
commit
971b648f2a
@ -69,7 +69,7 @@ public partial class WhyCacheThoughDialog : UserControl
|
||||
return;
|
||||
}
|
||||
|
||||
_foundPatcher = downloadsFolder.GetFiles("Patcher_*").FirstOrDefault();
|
||||
_foundPatcher = downloadsFolder.GetFiles("Patcher_*").OrderByDescending(p => p.CreationTime).FirstOrDefault();
|
||||
|
||||
if (_foundPatcher == null || !_foundPatcher.Exists)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user