minor notes

This commit is contained in:
Jeff Carr 2025-02-23 23:15:17 -06:00
parent 2d83d9ca79
commit e3d786a79c
1 changed files with 10 additions and 1 deletions

View File

@ -43,6 +43,11 @@ func makeHowtoWin() *GenericWindow {
howtoWin.Group.NewLabel("Working dir: " + me.forge.GetGoSrc())
grid = howtoWin.Group.RawGrid()
grid.NewButton("Download", func() {
howtoWin.Disable()
defer howtoWin.Enable()
downloadForge()
})
grid.NewButton("Build", func() {
howtoWin.Disable()
defer howtoWin.Enable()
buildForge()
@ -50,7 +55,7 @@ func makeHowtoWin() *GenericWindow {
return howtoWin
}
func buildForge() {
func downloadForge() {
log.Info("download here")
if path, err := fhelp.CheckCmd("go-clone"); err != nil {
log.Info("go-clone missing", path, err)
@ -105,3 +110,7 @@ func buildForge() {
}
*/
}
func buildForge() {
log.Info("not done yet")
}