|
|
@@ -160,8 +160,10 @@ namespace GCMM |
|
|
|
var gcmapi = mods["GamecraftModdingAPI"]; |
|
|
|
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) |
|
|
|
== DialogResult.OK) |
|
|
|
if (MessageBox.Show(gcmapi.Installed ? |
|
|
|
"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); |
|
|
|
} |
|
|
|
} |
|
|
|