new: add tunnel service

This commit is contained in:
Hiddify
2024-01-29 21:55:01 +01:00
parent 25d5b8a1c5
commit 5fa28220b4
28 changed files with 364 additions and 231 deletions

View File

@@ -75,7 +75,7 @@ func build(path string, optionsPath string) error {
}
if commandBuildOutputPath != "" {
outputPath, _ := filepath.Abs(filepath.Join(workingDir, commandBuildOutputPath))
err = os.WriteFile(outputPath, []byte(config), 0777)
err = os.WriteFile(outputPath, []byte(config), 0644)
if err != nil {
return err
}