mirror of
https://github.com/2dust/v2rayN.git
synced 2025-04-19 13:42:24 +00:00
CreateLinuxShellFile in the binConfigs folder
This commit is contained in:
parent
2f3e409487
commit
aeddbc1dcc
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue