Updated version code and defs

- Updated version code
- Replaced hardcoded path of some config folder string with const value
This commit is contained in:
Toby Chui
2025-07-20 14:03:39 +08:00
parent 5c6950ca56
commit aff1975c5a
4 changed files with 24 additions and 19 deletions

View File

@@ -69,7 +69,7 @@ func main() {
os.Exit(0)
}
if *geoDbUpdate {
geodb.DownloadGeoDBUpdate("./conf/geodb")
geodb.DownloadGeoDBUpdate(CONF_GEODB_PATH)
os.Exit(0)
}