-
Notifications
You must be signed in to change notification settings - Fork 274
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support to purchase apps #264
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The other commands start upper-cased.
The linter complained that the line with the URL parameters was too long. I transformed the parameters into a dictionary. This has the additional value of differences in parameters between installing and purchasing can be spotted more easily.
Wow, this is awesome. People have been asking for this for years. I'll take a closer look soon. |
Thanks for this great addition! This will go out in mas 1.7.0 soon. I have a little more work to do before we're ready for a release. |
gabebw
added a commit
to gabebw/dotfiles
that referenced
this pull request
May 16, 2020
Homebrew uses `mas install`, which will only (re-)install apps that have already been purchased on the current App Store account. This means that if you're setting up a brand-new Apple ID for work, none of these apps have been purchased, and so the `mas` lines fail. To fix this, use my personal Apple ID on the App Store and use whatever Apple ID for iCloud. (`mas` version 1.7.0 will be able to purchase apps: mas-cli/mas#264 ... but will require some custom code to run `mas purchase` since that's not what Homebrew does.)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This patch allows to purchase apps. As mentioned in the updated documentation, it requires you to enter your Apple ID credentials in the App Store if you
This should close #2 and #145. However, any purchase has to be made explicitly by invoking
mas purchase <app_id>
. Theinstall
andlucky
commands still do not let you purchase applications.Tested on Mojave 10.14.6 and Catalina 10.15.3.