Go module to check if an app exists on macOS.
$ go get github.com/wobsoriano/app-exists
package main
import (
"fmt"
exists "github.com/wobsoriano/app-exists"
)
func main() {
fmt.Println("App exists: ", exists.AppExists())
}
https://github.com/sindresorhus/app-exists
MIT