From aeddbc1dccf456d5409d58794dc74f115759522a Mon Sep 17 00:00:00 2001 From: 2dust <31833384+2dust@users.noreply.github.com> Date: Sun, 23 Feb 2025 17:19:45 +0800 Subject: [PATCH] CreateLinuxShellFile in the binConfigs folder --- v2rayN/ServiceLib/Handler/CoreHandler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v2rayN/ServiceLib/Handler/CoreHandler.cs b/v2rayN/ServiceLib/Handler/CoreHandler.cs index 7f7a3c9a..b01f6d9f 100644 --- a/v2rayN/ServiceLib/Handler/CoreHandler.cs +++ b/v2rayN/ServiceLib/Handler/CoreHandler.cs @@ -380,7 +380,7 @@ namespace ServiceLib.Handler private async Task<string> CreateLinuxShellFile(string cmdLine, string fileName) { //Shell scripts - var shFilePath = Utils.GetBinPath(AppHandler.Instance.IsAdministrator ? "root_" + fileName : fileName); + var shFilePath = Utils.GetBinConfigPath(AppHandler.Instance.IsAdministrator ? "root_" + fileName : fileName); File.Delete(shFilePath); var sb = new StringBuilder(); sb.AppendLine("#!/bin/sh");