Skip to content

Commit

Permalink
Version 4.18.1
Browse files Browse the repository at this point in the history
 * BUG FIX - Fixed an unhandled exception that could occur during hook callbacks
  • Loading branch information
randoman committed Aug 26, 2021
1 parent 953b93b commit e646b96
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 9 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
### 4.18.0
### 4.18.1
* BUG FIX - Fixed an unhandled exception that could occur during hook callbacks

### 4.18.0
* FEATURE - Improved AutoResize command to enable min/max font size control
* FEATURE - Added translation file directive allowing control of tranlations/resizing based on resolution size
* FEATURE - Added new '_Postprocessors.txt' file that can make substitutions to the text returned from the translation endpoint
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ private void CreateClientAndHandler()
_handler.AutomaticDecompression = DecompressionMethods.GZip | DecompressionMethods.Deflate;

_client = new HttpClient( _handler, true );
_client.DefaultRequestHeaders.UserAgent.Add( new ProductInfoHeaderValue( "XUnity", "4.18.0" ) );
_client.DefaultRequestHeaders.UserAgent.Add( new ProductInfoHeaderValue( "XUnity", "4.18.1" ) );
_client.DefaultRequestHeaders.Accept.Add( new MediaTypeWithQualityHeaderValue( "*/*" ) );
}

Expand Down
2 changes: 1 addition & 1 deletion src/XUnity.AutoTranslator.Patcher/Patcher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public override string Version
{
get
{
return "4.18.0";
return "4.18.1";
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFramework>net35</TargetFramework>
<Version>4.18.0</Version>
<Version>4.18.1</Version>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ public static class PluginData
/// <summary>
/// Gets the version of the plugin.
/// </summary>
public const string Version = "4.18.0";
public const string Version = "4.18.1";
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ internal static class TextureExtensions

public static bool IsKnownImageType( this object ui )
{
if( ui == null ) return false;

var type = ui.GetType();

return ( ui is Material || ui is SpriteRenderer )
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<DevelopmentDependency>True</DevelopmentDependency>
<TargetFramework>net35</TargetFramework>
<Version>4.18.0</Version>
<Version>4.18.1</Version>
<LangVersion>latest</LangVersion>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFramework>net35</TargetFramework>
<Version>4.18.0</Version>
<Version>4.18.1</Version>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFramework>net35</TargetFramework>
<Version>4.18.0</Version>
<Version>4.18.1</Version>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<OutputType>Exe</OutputType>
<TargetFramework>net40</TargetFramework>
<AssemblyName>SetupReiPatcherAndAutoTranslator</AssemblyName>
<Version>4.18.0</Version>
<Version>4.18.1</Version>
<ApplicationIcon>icon.ico</ApplicationIcon>
<Win32Resource />
</PropertyGroup>
Expand Down

0 comments on commit e646b96

Please sign in to comment.