Update version and reword a message

This commit is contained in:
Norbi Peti 2020-10-03 15:26:05 +02:00
parent faa88157bb
commit 1f413eebda
2 changed files with 5 additions and 5 deletions

View file

@ -6,9 +6,7 @@
<UseWindowsForms>true</UseWindowsForms> <UseWindowsForms>true</UseWindowsForms>
<SignAssembly>false</SignAssembly> <SignAssembly>false</SignAssembly>
<ApplicationIcon>favicon.ico</ApplicationIcon> <ApplicationIcon>favicon.ico</ApplicationIcon>
<AssemblyVersion>1.2.0.0</AssemblyVersion> <Version>1.3.0</Version>
<FileVersion>1.2.0.0</FileVersion>
<Version>1.2.0</Version>
<Authors>NorbiPeti</Authors> <Authors>NorbiPeti</Authors>
<Company>ExMods</Company> <Company>ExMods</Company>
<Description>A mod manager for Gamecraft. It automatically downloads and runs GCIPA and allows the user to install mods.</Description> <Description>A mod manager for Gamecraft. It automatically downloads and runs GCIPA and allows the user to install mods.</Description>

View file

@ -160,8 +160,10 @@ namespace GCMM
var gcmapi = mods["GamecraftModdingAPI"]; var gcmapi = mods["GamecraftModdingAPI"];
if (!gcmapi.Installed || gcmapi.Updatable) if (!gcmapi.Installed || gcmapi.Updatable)
{ {
if (MessageBox.Show($"GamecraftModdingAPI will be {(gcmapi.Installed ? "updated" : "installed")} as most mods need it to work. You can uninstall it if you're sure you don't need it.", "API needed", MessageBoxButtons.OKCancel) if (MessageBox.Show(gcmapi.Installed ?
== DialogResult.OK) "GamecraftModdingAPI will be updated as there's a new version available. It's needed for most mods to function."
: "GamecraftModdingAPI will be installed as most mods need it to work. You can uninstall it if you're sure you don't need it.", "API needed",
MessageBoxButtons.OKCancel) == DialogResult.OK)
await InstallMod(gcmapi); await InstallMod(gcmapi);
} }
} }