mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-16 07:06:45 +00:00
fix: don't remove log dir on startup
This commit is contained in:
@ -25,6 +25,7 @@ Changelog [format](http://keepachangelog.com/en/1.0.0/)
|
||||
* Crash when failing to match necessary html element
|
||||
* Crash in message.combineParts when copying nil slice
|
||||
* Handle double charset better by using local ParseMediaType instead of mime.ParseMediaType
|
||||
* Don't remove log dir
|
||||
|
||||
## [v1.2.7] Donghai-hotfix - beta (2020-05-07)
|
||||
|
||||
|
||||
@ -110,6 +110,7 @@ func (c *Config) ClearOldData() error {
|
||||
fileName := filepath.Base(filePath)
|
||||
return (fileName != c.cacheVersion &&
|
||||
!logFileRgx.MatchString(fileName) &&
|
||||
filePath != c.GetLogDir() &&
|
||||
filePath != c.GetTLSCertPath() &&
|
||||
filePath != c.GetTLSKeyPath() &&
|
||||
filePath != c.GetEventsPath() &&
|
||||
|
||||
Reference in New Issue
Block a user