version update

This commit is contained in:
patchzyy
2026-08-23 19:14:58 +02:00
parent 24bfa671a0
commit 91a0c62cdf
6 changed files with 5 additions and 19 deletions
+1 -1
View File
@@ -253,7 +253,7 @@ foreach ($required in @('ToolkitFingerprint','TranslationFingerprint','NativeToo
$manifest = [ordered]@{
SchemaVersion = 2
ProductVersion = '0.2.13'
ProductVersion = '0.2.15'
ExpectedGameId = $pins.GameId
ExpectedDolSha256 = $pins.DolSha256
ExpectedRelSha256 = $pins.RelSha256
@@ -162,11 +162,7 @@ internal sealed class InstallerEngine
publishGameAssets: reusableGameAssets is null, cancellationToken);
}
/// <summary>
/// Whether this operation must replace the installed <c>Toolkit</c>. The shipped translator and translation
/// project are one unit, so <c>samePackageContent</c> alone isn't enough: <c>sameToolkit</c> tracks the compile
/// identity separately, since gating on package identity alone let the two disagree after the v0.2.5 healing salt bump.
/// </summary>
internal static bool MustRefreshToolkit(bool sameToolkit, bool samePackageContent,
bool dolphinToolPresent) =>
!sameToolkit || !samePackageContent || !dolphinToolPresent;
-6
View File
@@ -50,11 +50,6 @@ internal sealed class PayloadManifest
public string ToolkitFingerprint { get; set; } = "";
public string ToolkitPackageFingerprint { get; set; } = "";
public string RuntimeAssetsFingerprint { get; set; } = "";
/// <summary>
/// Cache-reuse subsets of <see cref="ToolkitFingerprint"/>. Empty in a pre-0.2.0 manifest,
/// which every consumer treats as "changed" and therefore as a full rebuild - never as reuse.
/// </summary>
public string TranslationFingerprint { get; set; } = "";
public string NativeToolchainFingerprint { get; set; } = "";
}
@@ -161,7 +156,6 @@ internal sealed class ToolkitState
public string ToolkitPackageFingerprint { get; set; } = "";
/// <summary>Identity of the runtime assets copied verbatim beside each product.</summary>
public string RuntimeAssetsFingerprint { get; set; } = "";
/// <summary>Cache-reuse subsets of the compile identity; empty on a pre-0.2.0 installation.</summary>
public string TranslationFingerprint { get; set; } = "";
public string NativeToolchainFingerprint { get; set; } = "";
public string ToolkitReleaseTag { get; set; } = "";
+1 -1
View File
@@ -121,7 +121,7 @@ internal static class PlatformChecks
internal static class ProductInfo
{
public const string Name = "WiiCompiled";
public const string Version = "0.2.13";
public const string Version = "0.2.15";
/// <summary>
/// The setup executable is copied into the installation under this name. It is the launcher and
+1 -5
View File
@@ -133,11 +133,7 @@ internal static class SelfTests
}
}
/// <summary>
/// The translator and the project file it parses must never come from different releases. The
/// first case is the v0.2.5 regression: a compile-identity change republished the workspace
/// while an unchanged package identity retained the older toolkit.
/// </summary>
private static void TestToolkitRefreshDecision()
{
if (!InstallerEngine.MustRefreshToolkit(sameToolkit: false, samePackageContent: true,
@@ -7,7 +7,7 @@
<AssemblyName>WiiCompiled.Setup</AssemblyName>
<RootNamespace>WiiCompiled.Setup</RootNamespace>
<ApplicationManifest>app.manifest</ApplicationManifest>
<Version>0.2.13</Version>
<Version>0.2.15</Version>
<Authors>patchzy</Authors>
<Product>WiiCompiled</Product>
<Description>Command-line installer and launcher for WiiCompiled</Description>