add xray wireguard support (#7089)

* add xray wireguard support

* add wireguard core type settings

* Update OptionSettingWindow.axaml
This commit is contained in:
DHR60
2025-04-09 15:09:36 +08:00
committed by GitHub
parent 0efb0228c6
commit 15d3418c79
9 changed files with 90 additions and 8 deletions
@@ -100,6 +100,7 @@ public class OptionSettingViewModel : MyReactiveObject
[Reactive] public string CoreType4 { get; set; }
[Reactive] public string CoreType5 { get; set; }
[Reactive] public string CoreType6 { get; set; }
[Reactive] public string CoreType9 { get; set; }
#endregion CoreType
@@ -259,6 +260,10 @@ public class OptionSettingViewModel : MyReactiveObject
case 6:
CoreType6 = type;
break;
case 9:
CoreType9 = type;
break;
}
});
await Task.CompletedTask;
@@ -407,6 +412,10 @@ public class OptionSettingViewModel : MyReactiveObject
type = CoreType6;
break;
case 9:
type = CoreType9;
break;
default:
continue;
}