This commit is contained in:
Gregory Salaun 2025-05-28 23:00:44 +02:00
parent 9226eb5b2e
commit d307c92d25

View File

@ -42,11 +42,16 @@ func main() {
cfg := NewConfig(cfgPath)
log := NewLog()
log.Info("Running FlexDXCluster version 0.2")
log.Info("Running FlexDXCluster version 0.3")
log.Infof("Callsign: %s", cfg.SQLite.Callsign)
DeleteDatabase("./flex.sqlite", log)
log.Infof("Gotify Push Enabled: %v", cfg.Gotify.Enable)
if cfg.Gotify.Enable {
log.Infof("Gotify Push MewDXCC %v - NewBand %v - NewMode %v - NewBandAndMode %v", cfg.Gotify.NewDXCC, cfg.Gotify.NewBand, cfg.Gotify.NewMode, cfg.Gotify.NewBandAndMode)
}
// Load country.xml to get all the DXCC number
Countries := LoadCountryFile()