Skip to content

Commit

Permalink
fix: bootstrap installed detection
Browse files Browse the repository at this point in the history
  • Loading branch information
PhearZero committed Jan 7, 2025
1 parent aa29f2d commit d508327
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmd/bootstrap.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit d508327

Please sign in to comment.