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