new: move running admin service to core

This commit is contained in:
Hiddify
2024-02-05 18:47:26 +01:00
parent 1a31b04e29
commit d96279386a
12 changed files with 234 additions and 40 deletions

View File

@@ -16,7 +16,7 @@ func SaveCurrentConfig(path string, options option.Options) error {
if err != nil {
return err
}
p, err := filepath.Abs(filepath.Join(path, "current-config.json"))
p, err := filepath.Abs(path)
fmt.Printf("Saving config to %v %+v\n", p, err)
if err != nil {
return err