mirror of
https://github.com/knah/VRCMelonAssistant.git
synced 2024-05-21 21:03:44 +12:00
Check if directories exist when checking installed mods
This commit is contained in:
parent
f2cb734c33
commit
a37b249b9b
|
@ -120,6 +120,8 @@ namespace ModAssistant.Pages
|
|||
|
||||
private void CheckInstallDir(string directory, List<string> blacklist)
|
||||
{
|
||||
if (!Directory.Exists(System.IO.Path.Combine(App.BeatSaberInstallDirectory, directory)))
|
||||
return;
|
||||
foreach (string file in Directory.GetFileSystemEntries(System.IO.Path.Combine(App.BeatSaberInstallDirectory, directory)))
|
||||
{
|
||||
if (File.Exists(file) && System.IO.Path.GetExtension(file) == ".dll")
|
||||
|
|
Loading…
Reference in a new issue