set xray.location.cert to asset(bin) path (#7004)

* Update Global.cs

* Update CoreHandler.cs
This commit is contained in:
patterniha
2025-03-27 05:20:19 +03:30
committed by GitHub
parent 70b05d7812
commit 6ad0762731
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -24,6 +24,7 @@ namespace ServiceLib.Handler
Environment.SetEnvironmentVariable(Global.V2RayLocalAsset, Utils.GetBinPath(""), EnvironmentVariableTarget.Process);
Environment.SetEnvironmentVariable(Global.XrayLocalAsset, Utils.GetBinPath(""), EnvironmentVariableTarget.Process);
Environment.SetEnvironmentVariable(Global.XrayLocalCert, Utils.GetBinPath(""), EnvironmentVariableTarget.Process);
//Copy the bin folder to the storage location (for init)
if (Environment.GetEnvironmentVariable(Global.LocalAppData) == "1")