Improvements

This commit is contained in:
2dust
2025-01-18 16:01:52 +08:00
parent cf1a8599eb
commit 0953237e9e
4 changed files with 362 additions and 81 deletions
+2 -2
View File
@@ -22,8 +22,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(Global.V2RayLocalAsset, Utils.GetBinPath(""), EnvironmentVariableTarget.Process);
Environment.SetEnvironmentVariable(Global.XrayLocalAsset, Utils.GetBinPath(""), EnvironmentVariableTarget.Process);
if (Utils.IsNonWindows())
{