From d717e246b67bd1b019dab26562be1dfdc8edc73a Mon Sep 17 00:00:00 2001 From: Ishan Jalan <44338423+strobel1ght@users.noreply.github.com> Date: Sat, 2 Jul 2022 08:42:35 +0530 Subject: Current version in mod check Added "(You have x.x.x)" to the mod update check. --- src/.DS_Store | Bin 0 -> 8196 bytes src/SMAPI/.DS_Store | Bin 0 -> 6148 bytes src/SMAPI/Framework/SCore.cs | 2 +- src/SMAPI/SMAPI.sln | 25 +++++++++++++++++++++++++ 4 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 src/.DS_Store create mode 100644 src/SMAPI/.DS_Store create mode 100644 src/SMAPI/SMAPI.sln (limited to 'src') diff --git a/src/.DS_Store b/src/.DS_Store new file mode 100644 index 00000000..da9de574 Binary files /dev/null and b/src/.DS_Store differ diff --git a/src/SMAPI/.DS_Store b/src/SMAPI/.DS_Store new file mode 100644 index 00000000..b2c4b00c Binary files /dev/null and b/src/SMAPI/.DS_Store differ diff --git a/src/SMAPI/Framework/SCore.cs b/src/SMAPI/Framework/SCore.cs index fdfe70fc..283755d6 100644 --- a/src/SMAPI/Framework/SCore.cs +++ b/src/SMAPI/Framework/SCore.cs @@ -1565,7 +1565,7 @@ namespace StardewModdingAPI.Framework this.Monitor.Newline(); this.Monitor.Log($"You can update {updates.Count} mod{(updates.Count != 1 ? "s" : "")}:", LogLevel.Alert); foreach ((IModMetadata mod, ISemanticVersion newVersion, string newUrl) in updates) - this.Monitor.Log($" {mod.DisplayName} {newVersion}: {newUrl}", LogLevel.Alert); + this.Monitor.Log($" {mod.DisplayName} {newVersion}: {newUrl} (You have {mod.Manifest.Version}", LogLevel.Alert); } else this.Monitor.Log(" All mods up to date."); diff --git a/src/SMAPI/SMAPI.sln b/src/SMAPI/SMAPI.sln new file mode 100644 index 00000000..1821b0b6 --- /dev/null +++ b/src/SMAPI/SMAPI.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 25.0.1700.5 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SMAPI", "SMAPI.csproj", "{A09B2199-7A4C-4F47-8406-9A73A2FEAA96}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {A09B2199-7A4C-4F47-8406-9A73A2FEAA96}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A09B2199-7A4C-4F47-8406-9A73A2FEAA96}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A09B2199-7A4C-4F47-8406-9A73A2FEAA96}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A09B2199-7A4C-4F47-8406-9A73A2FEAA96}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {FD0C4E68-CA54-4AD5-8171-DA621027A9DF} + EndGlobalSection +EndGlobal -- cgit