Enable portable mode by reading a config file 'gropple.yml' from the current directory, if present. Closes #13

This commit is contained in:
2022-04-07 21:46:39 +09:30
parent b88df9beff
commit 394c77f139
5 changed files with 38 additions and 20 deletions

View File

@@ -63,8 +63,6 @@ func (i *Info) canUpgrade() bool {
return false
}
log.Printf("We are %s, github is %s", i.CurrentVersion, i.GithubVersion)
if !semver.IsValid(i.CurrentVersion) {
log.Printf("current version %s is invalid", i.CurrentVersion)
}