Browse Source

Xray Asset Location use XRAY_LOCATION_ASSET

pull/5940/head
2dust 4 weeks ago
parent
commit
a2e8755730
  1. 4
      v2rayN/ServiceLib/Handler/CoreHandler.cs

4
v2rayN/ServiceLib/Handler/CoreHandler.cs

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