mirror of
https://github.com/2dust/v2rayN.git
synced 2025-12-01 12:13:01 +00:00
Update Program.cs
This commit is contained in:
parent
face7e5a51
commit
3ad0454988
1 changed files with 7 additions and 0 deletions
|
|
@ -12,6 +12,13 @@ internal class Program
|
|||
[STAThread]
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
if (OperatingSystem.IsWindows() &&
|
||||
System.Runtime.InteropServices.RuntimeInformation.OSArchitecture ==
|
||||
System.Runtime.InteropServices.Architecture.Arm64)
|
||||
{
|
||||
Environment.SetEnvironmentVariable("AVALONIA_AUTOMATION", "0");
|
||||
}
|
||||
|
||||
if (OnStartup(args) == false)
|
||||
{
|
||||
Environment.Exit(0);
|
||||
|
|
|
|||
Loading…
Reference in a new issue