buo / homebrew-cask-upgrade

A command line tool for upgrading every outdated app installed by Homebrew Cask
MIT License
2.4k stars 90 forks source link

Sorting installed apps update #83

Closed ondrejfuhrer closed 6 years ago

ondrejfuhrer commented 6 years ago

In the previous fix, I made a mistake, that the apps were sorted only in the table, but all the other actions (like update itself) were run in the "wrong" order. That caused some troubles (i.e. that virtualbox-extension-pack was being installed before virtualbox itself => installation crash).

I have moved the sorting so then every time you call Hbc.installed_apps you will get them sorted based on a token.