tweak not-compatible messages
This commit is contained in:
parent
445b29b195
commit
47cfd6cd3d
|
@ -99,7 +99,7 @@ namespace StardewModdingAPI.Framework.ModLoading
|
||||||
case ModStatus.AssumeBroken:
|
case ModStatus.AssumeBroken:
|
||||||
{
|
{
|
||||||
// get reason
|
// get reason
|
||||||
string reasonPhrase = mod.DataRecord.StatusReasonPhrase ?? "it's outdated";
|
string reasonPhrase = mod.DataRecord.StatusReasonPhrase ?? "it's no longer compatible";
|
||||||
|
|
||||||
// get update URLs
|
// get update URLs
|
||||||
List<string> updateUrls = new List<string>();
|
List<string> updateUrls = new List<string>();
|
||||||
|
|
|
@ -814,7 +814,7 @@ namespace StardewModdingAPI
|
||||||
{
|
{
|
||||||
string[] updateUrls = new[] { modDatabase.GetModPageUrlFor(metadata.Manifest.UniqueID), "https://smapi.io/compat" }.Where(p => p != null).ToArray();
|
string[] updateUrls = new[] { modDatabase.GetModPageUrlFor(metadata.Manifest.UniqueID), "https://smapi.io/compat" }.Where(p => p != null).ToArray();
|
||||||
|
|
||||||
TrackSkip(metadata, $"it's not compatible. Please check for a new version at {string.Join(" or ", updateUrls)}.");
|
TrackSkip(metadata, $"it's no longer compatible. Please check for a new version at {string.Join(" or ", updateUrls)}.");
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
catch (SAssemblyLoadFailedException ex)
|
catch (SAssemblyLoadFailedException ex)
|
||||||
|
|
Loading…
Reference in New Issue