Skip to content

Commit

Permalink
Bump version, fix win10 pre HDR sdk, add WFM cache reuse (#284)
Browse files Browse the repository at this point in the history
  • Loading branch information
dimon222 committed Oct 21, 2023
1 parent 09038d9 commit 215d51d
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 8 deletions.
9 changes: 8 additions & 1 deletion WFInfo/Data.cs
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,14 @@ private bool LoadMarket(JObject allFiltered, bool force = false)
}
}
}
ReloadItems();
try
{
ReloadItems();
}
catch
{
Main.AddLog("Failed to refresh items from warframe.market, skipping WFM update for now. Some items might have incomplete info.");
}
marketData = new JObject();
WebClient webClient = CustomEntrypoint.createNewWebClient();
JArray rows = JsonConvert.DeserializeObject<JArray>(webClient.DownloadString(sheetJsonUrl));
Expand Down
4 changes: 2 additions & 2 deletions WFInfo/Main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ private IServiceCollection ConfigureServices(IServiceCollection services)

services.AddGDIScreenshots();

// Only add windows capture on supported plarforms (W10+)
if (ApiInformation.IsTypePresent("Windows.Graphics.Capture.GraphicsCaptureSession"))
// Only add windows capture on supported plarforms (W10+ 2004 / Build 20348 and above)
if (ApiInformation.IsTypePresent("Windows.Graphics.Capture.GraphicsCaptureSession") && ApiInformation.IsPropertyPresent("Windows.Graphics.Capture.GraphicsCaptureSession", "IsBorderRequired"))
{
services.AddWindowsCaptureScreenshots();
}
Expand Down
4 changes: 2 additions & 2 deletions WFInfo/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("9.6.1.0")]
[assembly: AssemblyFileVersion("9.6.1.0")]
[assembly: AssemblyVersion("9.6.2.0")]
[assembly: AssemblyFileVersion("9.6.2.0")]
6 changes: 3 additions & 3 deletions WFInfo/WFInfo.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
<Content Include="FodyWeavers.xsd" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Autoupdater.NET.Official" Version="1.8.3" />
<PackageReference Include="Autoupdater.NET.Official" Version="1.8.4" />
<PackageReference Include="Costura.Fody" Version="5.7.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
Expand All @@ -84,7 +84,7 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Hardcodet.NotifyIcon.Wpf" Version="1.1.0" />
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="7.0.3">
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="7.0.4">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand All @@ -102,7 +102,7 @@
<PackageReference Include="System.Text.RegularExpressions" Version="4.3.1" />
<PackageReference Include="Tesseract" Version="5.2.0" />
<PackageReference Include="WebSocketSharp-netstandard" Version="1.0.1" />
<PackageReference Include="Microsoft.AspNetCore.DataProtection" Version="7.0.8" />
<PackageReference Include="Microsoft.AspNetCore.DataProtection" Version="7.0.12" />
</ItemGroup>
<ItemGroup>
<None Update="$(HOME)\.nuget\packages\tesseract\5.2.0\build\\..\x64\leptonica-1.82.0.dll">
Expand Down

0 comments on commit 215d51d

Please sign in to comment.