fixed error from prev commit

This commit is contained in:
WeeXnes 2023-06-08 17:01:18 +02:00
parent 892cd40895
commit f623fd79f2
3 changed files with 10 additions and 3 deletions

View file

@ -33,7 +33,14 @@ namespace WeeXnes.Core
ConsoleColor color,
ConsoleColor foregroundColor = ConsoleColor.White)
{
VanillaConsole.OutputEncoding = Encoding.UTF8;
try
{
VanillaConsole.OutputEncoding = Encoding.UTF8;
}
catch (Exception ex)
{
VanillaConsole.WriteLine("error setting OutputEncoding to UTF8");
}
ConsoleColor prevColor = VanillaConsole.BackgroundColor;
ConsoleColor prevForeColor = VanillaConsole.ForegroundColor;
if (Data.Colors.colored_output)

View file

@ -8,7 +8,7 @@ namespace WeeXnes.Core
{
public class Information
{
public const string Version = "4.3.2";
public const string Version = "4.3.3";
public const string EncryptionHash = "8zf5#RdyQ]$4x4_";
public const string ApiUrl = "https://api.github.com/repos/weexnes/weexnessuite/releases/latest";
}

View file

@ -4,7 +4,7 @@
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<Version>4.3.2</Version>
<Version>4.3.3</Version>
<ProjectGuid>{4B33CEE7-C74D-43B9-B99A-8B273D5195BC}</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>WeeXnes</RootNamespace>