Compare commits

...

2 Commits

Author SHA1 Message Date
刘祥超
7e5b3254eb 修改版本号为1.2.8 2023-08-14 12:24:03 +08:00
刘祥超
ad1947379d 自动生成新的配置文件(api_node.yaml) 2023-08-14 12:23:55 +08:00
2 changed files with 6 additions and 1 deletions

View File

@@ -67,6 +67,11 @@ func LoadAPIConfig() (*APIConfig, error) {
return nil, errors.New("init error: " + err.Error())
}
// 自动生成新的配置文件
if filename == oldConfigFileName {
_ = config.WriteFile(Tea.ConfigFile(ConfigFileName))
}
return config, nil
}
return nil, errors.New("no config file '" + ConfigFileName + "' found")

View File

@@ -1,7 +1,7 @@
package teaconst
const (
Version = "1.2.7"
Version = "1.2.8"
ProductName = "Edge Node"
ProcessName = "edge-node"