|
|
|
@ -20,8 +20,8 @@ namespace ServiceLib.Handler
|
|
|
|
|
_config = config;
|
|
|
|
|
_updateFunc = updateFunc;
|
|
|
|
|
|
|
|
|
|
Environment.SetEnvironmentVariable("v2ray.location.asset", Utils.GetBinPath(""), EnvironmentVariableTarget.Process);
|
|
|
|
|
Environment.SetEnvironmentVariable("xray.location.asset", Utils.GetBinPath(""), EnvironmentVariableTarget.Process);
|
|
|
|
|
Environment.SetEnvironmentVariable("V2RAY_LOCATION_ASSET", Utils.GetBinPath(""), EnvironmentVariableTarget.Process);
|
|
|
|
|
Environment.SetEnvironmentVariable("XRAY_LOCATION_ASSET", Utils.GetBinPath(""), EnvironmentVariableTarget.Process);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public async Task LoadCore(ProfileItem? node)
|
|
|
|
|