rcmdnk / homebrew-file

Brewfile manager for Homebrew
http://homebrew-file.readthedocs.io/
MIT License
356 stars 29 forks source link

mas purchase doesn't work on macOS 10.15 and later #110

Open MikaelSmith opened 3 years ago

MikaelSmith commented 3 years ago

https://github.com/mas-cli/mas/issues/289. Is there a way to reset mas purchase back to mas install?

rcmdnk commented 3 years ago

Thank you for the information. It seems the problem happens both on macOS 10.15 and 11.

Therefore, I reverted it as mas install at v8.5.7.

rcmdnk commented 3 years ago

In addition, there is another problem on macOS 12: https://github.com/mas-cli/mas/issues/417

brew file init works fine, but you may see an error like:

[ERROR]:
Please sign in to the App Store

and brew file install with a new appstore package will fail.

For now, if you want to avoid such errors, maybe it is better to drop appstore packages by using --no_appstore option.

rcmdnk commented 2 years ago

On macOS 12 Monterey, the above ERROR (by mass account) occurs. But most of the other mas commands works.

So, I disabled mas account check and now you can use brew-file w/o no_appstore even on macOS 12 Monterey.

But be sure that you have signed in at App Store.app.