Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7e5b3254eb | ||
|
|
ad1947379d |
@@ -67,6 +67,11 @@ func LoadAPIConfig() (*APIConfig, error) {
|
|||||||
return nil, errors.New("init error: " + err.Error())
|
return nil, errors.New("init error: " + err.Error())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 自动生成新的配置文件
|
||||||
|
if filename == oldConfigFileName {
|
||||||
|
_ = config.WriteFile(Tea.ConfigFile(ConfigFileName))
|
||||||
|
}
|
||||||
|
|
||||||
return config, nil
|
return config, nil
|
||||||
}
|
}
|
||||||
return nil, errors.New("no config file '" + ConfigFileName + "' found")
|
return nil, errors.New("no config file '" + ConfigFileName + "' found")
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
package teaconst
|
package teaconst
|
||||||
|
|
||||||
const (
|
const (
|
||||||
Version = "1.2.7"
|
Version = "1.2.8"
|
||||||
|
|
||||||
ProductName = "Edge Node"
|
ProductName = "Edge Node"
|
||||||
ProcessName = "edge-node"
|
ProcessName = "edge-node"
|
||||||
|
|||||||
Reference in New Issue
Block a user