File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -138,11 +138,11 @@ func InitConfig() {
138
138
if section , err := cfg .GetSection ("colors" ); err == nil {
139
139
section .MapTo (& Config .Colors )
140
140
}
141
- newCfg := ini . Empty ()
142
- if err = ini .ReflectFromWithMapper ( newCfg , & Config , ini . TitleUnderscore ); err == nil {
143
- //TODO: only save if changes
144
- err = newCfg .SaveTo (configFilePath )
145
- }
141
+ //TODO: only save if changes
142
+ //newCfg : = ini.Empty()
143
+ //if err = ini.ReflectFromWithMapper(newCfg, &Config, ini.TitleUnderscore); err == nil {
144
+ // err = newCfg.SaveTo(configFilePath)
145
+ // }
146
146
} else {
147
147
cfg = ini .Empty ()
148
148
cfg .NameMapper = ini .TitleUnderscore
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ import (
17
17
"gitlab.com/tslocum/cbind"
18
18
)
19
19
20
- var VERSION string = "v1.0.3 "
20
+ var VERSION string = "v1.0.4 "
21
21
22
22
var sndTxt string = ""
23
23
var currentReceiver messages.Chat = messages.Chat {}
You can’t perform that action at this time.
0 commit comments