Add process to routing domains

https://github.com/2dust/v2rayN/issues/8757
This commit is contained in:
2dust
2026-02-05 16:52:48 +08:00
parent fdb733fa72
commit bceebc1661
6 changed files with 19 additions and 11 deletions
+13 -1
View File
@@ -1086,7 +1086,19 @@ public class Utils
public static string GetExeName(string name)
{
return IsWindows() ? $"{name}.exe" : name;
if (name.IsNullOrEmpty() || IsNonWindows())
{
return name;
}
if (name.EndsWith(".exe", StringComparison.OrdinalIgnoreCase))
{
return name;
}
else
{
return $"{name}.exe";
}
}
public static bool IsAdministrator()