Skip to content

Commit

Permalink
Merge pull request #50 from Citrinate/asf606
Browse files Browse the repository at this point in the history
Update to ASF 6.0.6
  • Loading branch information
Citrinate authored Sep 2, 2024
2 parents 5fddd1f + 9548a3b commit 429706b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 14 deletions.
2 changes: 1 addition & 1 deletion ArchiSteamFarm
Submodule ArchiSteamFarm updated 302 files
6 changes: 3 additions & 3 deletions FreePackages.Tests/Apps.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,15 @@ public void CanDetectFreeApp() {
public void CanDetectAvailableAppByReleaseState() {
var app = new FilterableApp(KeyValue.LoadAsText("app_with_release_state.txt"));

Assert.IsFalse(app.ReleaseState.IsNullOrEmpty());
Assert.IsFalse(string.IsNullOrEmpty(app.ReleaseState));
Assert.IsTrue(app.IsAvailable());
}

[TestMethod]
public void CanDetectAvailableAppByState() {
var app = new FilterableApp(KeyValue.LoadAsText("app_with_state.txt"));

Assert.IsFalse(app.State.IsNullOrEmpty());
Assert.IsFalse(string.IsNullOrEmpty(app.State));
Assert.IsTrue(app.IsAvailable());
}

Expand Down Expand Up @@ -90,7 +90,7 @@ public void CanFindAppDLC() {
var app = new FilterableApp(KeyValue.LoadAsText("app_with_dlc.txt"));
PackageFilter.Country = "";

Assert.IsFalse(app.ListOfDLC.IsNullOrEmpty());
Assert.IsFalse(string.IsNullOrEmpty(app.ListOfDLC));
}

[TestMethod]
Expand Down
13 changes: 3 additions & 10 deletions FreePackages/FreePackages.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<Authors>Citrinate</Authors>
<AssemblyVersion>1.5.1.2</AssemblyVersion>
<AssemblyVersion>1.5.2.1</AssemblyVersion>
<Nullable>enable</Nullable>
<LangVersion>latest</LangVersion>
<TargetFramework>net8.0</TargetFramework>
Expand All @@ -11,6 +11,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.ResxSourceGenerator" Version="3.11.0-beta1.23364.2" PrivateAssets="all" />
<PackageReference Include="System.Composition.AttributedModel" Version="8.0.0" />
</ItemGroup>

Expand All @@ -22,16 +23,8 @@
<InternalsVisibleTo Include="FreePackages.Tests" />
</ItemGroup>

<!-- https://www.paraesthesia.com/archive/2022/09/30/strongly-typed-resources-with-net-core/ -->
<ItemGroup>
<EmbeddedResource Update="Localization\Strings.resx">
<Generator>MSBuild:Compile</Generator>
<LastGenOutput>Strings.Designer.cs</LastGenOutput>
<StronglyTypedFileName>$(IntermediateOutputPath)\Strings.Designer.cs</StronglyTypedFileName>
<StronglyTypedLanguage>CSharp</StronglyTypedLanguage>
<StronglyTypedNamespace>FreePackages.Localization</StronglyTypedNamespace>
<StronglyTypedClassName>Strings</StronglyTypedClassName>
</EmbeddedResource>
<EmbeddedResource Update="Localization\Strings.resx" />
</ItemGroup>

</Project>

0 comments on commit 429706b

Please sign in to comment.