Fixed crash

This commit is contained in:
CreepyCrafter24 2019-09-29 16:32:16 +02:00
parent 8f3075b2eb
commit d8cce87b63

View File

@ -258,7 +258,8 @@ namespace UpTool2
MessageBox.Show(e1.ToString(), "Install failed");
}
#endif
Directory.Delete(tmp, true);
if (tmp != "" && Directory.Exists(tmp))
Directory.Delete(tmp, true);
}
void completeInstall(string app, App appI)