Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
AnakinRaW committed May 15, 2023
1 parent f036d3a commit f144437
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 155 deletions.
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<ItemGroup>
<PackageReference Include="Nerdbank.GitVersioning" Condition="!Exists('packages.config')">
<PrivateAssets>all</PrivateAssets>
<Version>3.6.128</Version>
<Version>3.6.132</Version>
</PackageReference>
<PackageReference Include="SauceControl.InheritDoc" Version="1.3.0" PrivateAssets="all" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1">
Expand Down
1 change: 0 additions & 1 deletion sample/SampleApplication/SampleApplication.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="7.0.0" />
<PackageReference Include="AnakinRaw.CommonUtilities.Registry.Windows" Version="8.0.1" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,10 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="AnakinRaW.CommonUtilities.Registry.Windows" Version="8.0.1" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="7.0.0" />
<PackageReference Include="Microsoft.Win32.Registry" Version="5.0.0" />
<PackageReference Include="AnakinRaw.CommonUtilities.FileSystem" Version="8.0.1" />
<PackageReference Include="AnakinRaw.CommonUtilities.Registry.Windows" Version="8.0.1" />
<PackageReference Include="System.IO.Abstractions" Version="19.2.22" />
<PackageReference Include="System.IO.Abstractions" Version="19.2.26" />
<PackageReference Include="Validation" Version="2.5.51" PrivateAssets="compile" />
<PackageReference Include="Gameloop.Vdf" Version="0.6.2" PrivateAssets="compile" />
<PackageReference Include="Gameloop.Vdf.JsonConverter " Version="0.2.1" PrivateAssets="compile" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using System.IO.Abstractions;
using System.Linq;
using AnakinRaW.CommonUtilities.Registry;
using AnakinRaW.CommonUtilities.Registry.Windows;
using Microsoft.Extensions.DependencyInjection;
#if NET
using System.Diagnostics.CodeAnalysis;
Expand Down Expand Up @@ -98,10 +97,10 @@ public ISet<uint>? InstalledApps

public SteamRegistry(IServiceProvider serviceProvider)
{
_registryKey = new WindowsRegistry()
_registryKey = serviceProvider.GetRequiredService<IRegistry>()
.OpenBaseKey(RegistryHive.CurrentUser, RegistryView.Default)
.CreateSubKey("Software\\Valve\\Steam");
_fileSystem = serviceProvider.GetService<IFileSystem>() ?? new FileSystem();
_fileSystem = serviceProvider.GetRequiredService<IFileSystem>();
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="7.0.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.5.0" />
<PackageReference Include="Moq" Version="4.18.4" />
<PackageReference Include="System.IO.Abstractions.TestingHelpers" Version="19.2.22" />
<PackageReference Include="System.IO.Abstractions.TestingHelpers" Version="19.2.26" />
<PackageReference Include="xunit" Version="2.4.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="7.0.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.5.0" />
<PackageReference Include="Moq" Version="4.18.4" />
<PackageReference Include="System.IO.Abstractions.TestingHelpers" Version="19.2.22" />
<PackageReference Include="System.IO.Abstractions.TestingHelpers" Version="19.2.26" />
<PackageReference Include="xunit" Version="2.4.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="7.0.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.5.0" />
<PackageReference Include="Moq" Version="4.18.4" />
<PackageReference Include="System.IO.Abstractions.TestingHelpers" Version="19.2.22" />
<PackageReference Include="System.IO.Abstractions.TestingHelpers" Version="19.2.26" />
<PackageReference Include="xunit" Version="2.4.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
Expand Down
141 changes: 0 additions & 141 deletions src/PetroGlyph.Games.EawFoc/src/IWindowsRegistry.cs

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,8 @@
<PackageReference Include="HtmlAgilityPack" Version="1.11.46" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="7.0.0" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="7.0.0" />
<PackageReference Include="Microsoft.Win32.Registry" Version="5.0.0" />
<PackageReference Include="QuikGraph" Version="2.5.0" PrivateAssets="compile" />
<PackageReference Include="System.IO.Abstractions" Version="19.2.22" />
<PackageReference Include="System.IO.Abstractions" Version="19.2.26" />
<PackageReference Include="Validation" Version="2.5.51" PrivateAssets="compile" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.5.0" />
<PackageReference Include="Moq" Version="4.18.4" />
<PackageReference Include="QuikGraph" Version="2.5.0" />
<PackageReference Include="System.IO.Abstractions.TestingHelpers" Version="19.2.22" />
<PackageReference Include="System.IO.Abstractions.TestingHelpers" Version="19.2.26" />
<PackageReference Include="xunit" Version="2.4.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
Expand Down

0 comments on commit f144437

Please sign in to comment.