Merge pull request 'Find the latest patcher download when moving patcher to cache' (#61) from DrakiaXYZ/SPT-AKI-Installer:feat-find-latest-patcher into master
Reviewed-on: CWX/SPT-AKI-Installer#61
This commit is contained in:
commit
65bf23d76c
@ -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