FModel v4.4.3.6

This commit is contained in:
Asval 2024-05-26 19:18:42 +02:00
parent 11bad8687e
commit 244462cc77
4 changed files with 6 additions and 4 deletions

View File

@ -126,6 +126,7 @@ public static class StringExtensions
return content.Split("\"")[3];
lineNumber--;
if (lineNumber < 1) break;
line = doc.GetLineByNumber(lineNumber);
}

View File

@ -5,9 +5,9 @@
<TargetFramework>net8.0-windows</TargetFramework>
<UseWPF>true</UseWPF>
<ApplicationIcon>FModel.ico</ApplicationIcon>
<Version>4.4.3.5</Version>
<AssemblyVersion>4.4.3.5</AssemblyVersion>
<FileVersion>4.4.3.5</FileVersion>
<Version>4.4.3.6</Version>
<AssemblyVersion>4.4.3.6</AssemblyVersion>
<FileVersion>4.4.3.6</FileVersion>
<IsPackable>false</IsPackable>
<IsPublishable>true</IsPublishable>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>

View File

@ -176,7 +176,7 @@ public class FModelApiEndpoint : AbstractApiProvider
{
if (AutoUpdater.DownloadUpdate(args))
{
UserSettings.Default.ShowChangelog = !qa.Value;
UserSettings.Default.ShowChangelog = currentVersion != args.InstalledVersion;
UserSettings.Default.CommitHash = qa.CommitHash;
Application.Current.Shutdown();
}

View File

@ -16,6 +16,7 @@ public static class TextureHelper
// R: Whatever (AO / S / E / ...)
// G: Roughness
// B: Metallic
case "GAMEFACE":
case "HK_PROJECT":
case "COSMICSHAKE":
case "PHOENIX":