Fix bug with new config having wrong version
This commit is contained in:
parent
bb8193b504
commit
9a2497c244
@ -2,6 +2,10 @@
|
||||
|
||||
All notable changes to this project will be documented in this file.
|
||||
|
||||
## [v1.1.1] - 2023-11-26
|
||||
|
||||
- Fix bug where a brand-new config was created with an out-of-date version
|
||||
|
||||
## [v1.1.0] - 2023-11-25
|
||||
|
||||
- Add feature to bulk add URL's for downloading
|
||||
|
@ -98,7 +98,7 @@ func (cs *ConfigService) LoadDefaultConfig() {
|
||||
defaultConfig.Destinations = nil
|
||||
defaultConfig.DownloadOptions = make([]DownloadOption, 0)
|
||||
|
||||
defaultConfig.ConfigVersion = 3
|
||||
defaultConfig.ConfigVersion = 4
|
||||
|
||||
cs.Config = &defaultConfig
|
||||
|
||||
|
2
main.go
2
main.go
@ -15,7 +15,7 @@ import (
|
||||
|
||||
func main() {
|
||||
versionInfo := &version.Manager{
|
||||
VersionInfo: version.Info{CurrentVersion: "v1.1.0"},
|
||||
VersionInfo: version.Info{CurrentVersion: "v1.1.1"},
|
||||
}
|
||||
log.Printf("Starting gropple %s - https://github.com/tardisx/gropple", versionInfo.GetInfo().CurrentVersion)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user