Fix bug with new config having wrong version

This commit is contained in:
Justin Hawkins 2023-11-26 16:59:54 +10:30
parent bb8193b504
commit 9a2497c244
3 changed files with 6 additions and 2 deletions

View File

@ -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

View File

@ -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

View File

@ -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)