Skip to content

Commit

Permalink
Fix refresh not working, fix versioning, added packages config and pa…
Browse files Browse the repository at this point in the history
…ckage manager for bundling dlls into the assembly.
  • Loading branch information
Andrew committed Jan 9, 2016
1 parent a902838 commit f758c9f
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 3 deletions.
4 changes: 4 additions & 0 deletions SteamCleaner/MainWindowViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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);
Expand All @@ -59,6 +62,7 @@ private void RunRefresh()
_filesInternal.Add(fileViewModel);

Statistics = CleanerUtilities.TotalFiles() + " files have been found (" + CleanerUtilities.TotalTakenSpace() + ") ";

}

private async void RunClean()
Expand Down
4 changes: 2 additions & 2 deletions SteamCleaner/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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")]
[assembly: AssemblyVersion("1.2.0.0")]
[assembly: AssemblyFileVersion("1.2.0.0")]
8 changes: 8 additions & 0 deletions SteamCleaner/SteamCleaner.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,14 @@
</Reference>
<Reference Include="PresentationCore" />
<Reference Include="PresentationFramework" />
<Reference Include="SquaredInfinity.Foundation.DotNet45, Version=1.0.45.0, Culture=neutral, PublicKeyToken=b2eb7b1f23e71d09, processorArchitecture=MSIL">
<HintPath>..\packages\SquaredInfinity.Foundation.1.0.45.0\lib\net45\SquaredInfinity.Foundation.DotNet45.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="SquaredInfinity.Foundation.Presentation.Xaml.DotNet45, Version=1.0.45.0, Culture=neutral, PublicKeyToken=b2eb7b1f23e71d09, processorArchitecture=MSIL">
<HintPath>..\packages\SquaredInfinity.Foundation.Presentation.Xaml.1.0.45.0\lib\net45\SquaredInfinity.Foundation.Presentation.Xaml.DotNet45.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xaml" />
Expand Down
2 changes: 2 additions & 0 deletions SteamCleaner/packages.config
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@
<packages>
<package id="MaterialDesignColors" version="1.1.2" targetFramework="net452" />
<package id="MaterialDesignThemes" version="1.3.1.418" targetFramework="net452" />
<package id="SquaredInfinity.Foundation" version="1.0.45.0" targetFramework="net452" />
<package id="SquaredInfinity.Foundation.Presentation.Xaml" version="1.0.45.0" targetFramework="net452" />
</packages>
2 changes: 1 addition & 1 deletion version.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<steamcleaner>
<version>1.1</version>
<version>1.2</version>
<url>https://github.com/Codeusa/SteamCleaner/releases/latest</url>
</steamcleaner>

0 comments on commit f758c9f

Please sign in to comment.