Update version numbers on install.

This commit is contained in:
Assistant 2019-05-12 15:06:26 -04:00
parent 19770c0546
commit 791a5286bf

View file

@ -231,6 +231,7 @@ namespace ModAssistant.Pages
}
MainWindow.Instance.MainText = "Finished installing mods.";
MainWindow.Instance.InstallButton.IsEnabled = true;
RefreshModsList();
}
private void InstallMod (Mod mod, string directory)
@ -271,6 +272,12 @@ namespace ModAssistant.Pages
}
}
}
if (App.CheckInstalledMods)
{
mod.ListItem.IsInstalled = true;
mod.ListItem.InstalledVersion = mod.version;
}
}
private byte[] DownloadMod (string link)