Xray Asset Location use XRAY_LOCATION_ASSET

pull/5940/head
2dust 2024-10-25 09:31:16 +08:00
parent 06ddedbc4c
commit a2e8755730
1 changed files with 2 additions and 2 deletions

View File

@ -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)