add button for starting ci update

This commit is contained in:
Aaron Bieber 2024-06-26 06:51:54 -06:00
parent 58068c6d4a
commit e4f7e775c8
No known key found for this signature in database

View File

@ -337,7 +337,16 @@ func (x *xinStatus) updateHostInfo() error {
}
}()
})
ciUpdate := widget.NewButton("CI Update", func() {
go func() {
err := s.RunCmd("xin ci update", x)
if err != nil {
log.Println(err)
}
}()
})
s.buttonBox.Add(ciStart)
s.buttonBox.Add(ciUpdate)
}
}
}