mirror of
https://github.com/knah/VRCMelonAssistant.git
synced 2024-06-29 03:20:18 +12:00
Prevent crashing when directory is moved
This commit is contained in:
parent
67a8254d4c
commit
dbf4df2b03
|
@ -93,7 +93,7 @@ namespace ModAssistant
|
|||
string InstallDir = null;
|
||||
|
||||
InstallDir = Properties.Settings.Default.InstallFolder;
|
||||
if (!String.IsNullOrEmpty(InstallDir))
|
||||
if (!String.IsNullOrEmpty(InstallDir) && Directory.Exists(InstallDir))
|
||||
{
|
||||
return InstallDir;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue