Skip to content

Commit

Permalink
Add --use-asia-defaults start argument
Browse files Browse the repository at this point in the history
  • Loading branch information
0blu committed Nov 12, 2023
1 parent 042d738 commit 2612033
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions WinterspringLauncher/ProgramStartup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
using System;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Threading;
using Avalonia.Logging;
Expand All @@ -19,6 +20,8 @@ public static void Main(string[] args)
CultureInfo.DefaultThreadCurrentCulture = CultureInfo.InvariantCulture;
Thread.CurrentThread.CurrentCulture = CultureInfo.InvariantCulture;

LocaleDefaults.ShouldUseAsiaPreferences = args.Contains("--use-asia-defaults");

bool weAreOnMacOs = RuntimeInformation.IsOSPlatform(OSPlatform.OSX);
if (weAreOnMacOs)
{
Expand Down

0 comments on commit 2612033

Please sign in to comment.