mirror of
https://github.com/knah/VRCMelonAssistant.git
synced 2024-05-22 05:12:58 +12:00
Update version numbers on install.
This commit is contained in:
parent
19770c0546
commit
791a5286bf
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue