still debugging

This commit is contained in:
Jeff Carr 2024-12-24 04:58:44 -06:00
parent 6169b19c70
commit bb54d3ed62
1 changed files with 5 additions and 1 deletions

View File

@ -86,7 +86,11 @@ func main() {
end += "(version mismatch) " + actualp.Version + " " + version + " " end += "(version mismatch) " + actualp.Version + " " + version + " "
} }
if actualp := me.forge.Machine.FindInstalledByName(p.Name); actualp != nil { if actualp := me.forge.Machine.FindInstalledByName(p.Name); actualp != nil {
end += "(installed " + actualp.Version + ") " if p.Version != actualp.Version {
end += "(installed " + actualp.Version + " vs " + p.Version + ") "
} else {
end += "(installed ok) "
}
version = actualp.Version version = actualp.Version
} }
if me.forge.Config.IsReadOnly(p.Name) { if me.forge.Config.IsReadOnly(p.Name) {