mirror of
https://github.com/2dust/v2rayN.git
synced 2025-12-23 07:12:42 +00:00
Compare commits
2 commits
683e8f711e
...
3ce0510fee
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3ce0510fee | ||
|
|
3ad0454988 |
1 changed files with 7 additions and 0 deletions
|
|
@ -12,6 +12,13 @@ internal class Program
|
||||||
[STAThread]
|
[STAThread]
|
||||||
public static void Main(string[] args)
|
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)
|
if (OnStartup(args) == false)
|
||||||
{
|
{
|
||||||
Environment.Exit(0);
|
Environment.Exit(0);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue