From d508327bed300036e4a2aa001196314a678e3e94 Mon Sep 17 00:00:00 2001 From: Michael Feher Date: Tue, 7 Jan 2025 10:59:47 -0500 Subject: [PATCH] fix: bootstrap installed detection --- cmd/bootstrap.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmd/bootstrap.go b/cmd/bootstrap.go index a9bcac02..f652ec08 100644 --- a/cmd/bootstrap.go +++ b/cmd/bootstrap.go @@ -64,6 +64,10 @@ var bootstrapCmd = &cobra.Command{ fmt.Println(out) model := bootstrap.NewModel() + if algod.IsInstalled() { + model.BootstrapMsg.Install = false + model.Question = bootstrap.CatchupQuestion + } p := tea.NewProgram(model) var msg *app.BootstrapMsg go func() {