Xray Asset Location use XRAY_LOCATION_ASSET

pull/5940/head
2dust 1 month ago
parent 06ddedbc4c
commit a2e8755730

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

Loading…
Cancel
Save