Skip to content

Commit

Permalink
CreateLinuxShellFile in the binConfigs folder
Browse files Browse the repository at this point in the history
  • Loading branch information
2dust committed Feb 23, 2025
1 parent 2f3e409 commit aeddbc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v2rayN/ServiceLib/Handler/CoreHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ private async Task KillProcessAsLinuxSudo()
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");
Expand Down

0 comments on commit aeddbc1

Please # to comment.