diff --git a/SteamCleaner/MainWindowViewModel.cs b/SteamCleaner/MainWindowViewModel.cs index 7c61f6d..0649cf3 100644 --- a/SteamCleaner/MainWindowViewModel.cs +++ b/SteamCleaner/MainWindowViewModel.cs @@ -5,6 +5,7 @@ using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; +using System.Windows; using System.Windows.Input; using SteamCleaner.Utilities; @@ -50,6 +51,8 @@ public string Statistics private void RunRefresh() { + //needs to be called to ensure we aren't loading a previously stored object. + CleanerUtilities.updateRedistributables = true; _pathsInternal.Clear(); foreach (var steamPath in SteamUtilities.SteamPaths()) _pathsInternal.Add(steamPath); @@ -59,6 +62,7 @@ private void RunRefresh() _filesInternal.Add(fileViewModel); Statistics = CleanerUtilities.TotalFiles() + " files have been found (" + CleanerUtilities.TotalTakenSpace() + ") "; + } private async void RunClean() diff --git a/SteamCleaner/Properties/AssemblyInfo.cs b/SteamCleaner/Properties/AssemblyInfo.cs index df482e0..28450d1 100644 --- a/SteamCleaner/Properties/AssemblyInfo.cs +++ b/SteamCleaner/Properties/AssemblyInfo.cs @@ -39,5 +39,5 @@ // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.1.0.0")] -[assembly: AssemblyFileVersion("1.1.0.0")] \ No newline at end of file +[assembly: AssemblyVersion("1.2.0.0")] +[assembly: AssemblyFileVersion("1.2.0.0")] \ No newline at end of file diff --git a/SteamCleaner/SteamCleaner.csproj b/SteamCleaner/SteamCleaner.csproj index e4e9f00..40e96c1 100644 --- a/SteamCleaner/SteamCleaner.csproj +++ b/SteamCleaner/SteamCleaner.csproj @@ -50,6 +50,14 @@ + + ..\packages\SquaredInfinity.Foundation.1.0.45.0\lib\net45\SquaredInfinity.Foundation.DotNet45.dll + True + + + ..\packages\SquaredInfinity.Foundation.Presentation.Xaml.1.0.45.0\lib\net45\SquaredInfinity.Foundation.Presentation.Xaml.DotNet45.dll + True + diff --git a/SteamCleaner/packages.config b/SteamCleaner/packages.config index 08ddd21..f55b737 100644 --- a/SteamCleaner/packages.config +++ b/SteamCleaner/packages.config @@ -2,4 +2,6 @@ + + \ No newline at end of file diff --git a/version.xml b/version.xml index fea3525..03bc5cc 100644 --- a/version.xml +++ b/version.xml @@ -1,5 +1,5 @@ - 1.1 + 1.2 https://github.com/Codeusa/SteamCleaner/releases/latest