caskroom/homebrew-cask — pull request #8279 by jawshooah (2014-12-19 22:04:17+00:00)
Title: HOLD Add TeamPostgreSQL Cask

This is a weird one. It uses a graphical installer, and a graphical uninstaller which is found in the install directory.

Since there's no support for graphical uninstallers yet, I'm not entirely sure what to use for the `uninstall` stanza.

Also, the graphical uninstaller removes the install directory contents but not the directory itself, which is why I added `"#{Cask.appdir}/teampostgresql"` to the `zap` stanza. This won't work if the user selects a different location in the graphical installer, but I figured it would cover most cases. Is there a better way to handle this?