Support installation to subdirectories of `/Applications`
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 12.4k
- Forks
- 299
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 1
Description
Is your feature request related to a problem? Please describe.
Describe the solution you'd like
It would be nice to support downloading apps to a custom path. Eg mas install 414568915 --path /Applications/Utilities
Describe alternatives you've considered
I use a Brewfile with brew bundle to run mas, an alternative would be to create a script to manually move the applications to their desired location after calling brew bundle.
cd /Applications
mkdir -p /Applications/Utilities
mv Bakery.app /Applications/Utilities
Additional context
Based on https://github.com/mas-cli/mas/issues/72 and https://github.com/mas-cli/mas/pull/376 I gather that supporting installation outside of the /Applications directory is not supported, but a subdirectory seems to work.
If I install an app, then move it to a subdirectory of /Applications', it will still appear in mas list`.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start from the mas install command and its handling of application destinations, then review issue #72 and pull request #376 for existing constraints. Done means accepting a custom path such as /Applications/Utilities while keeping the installed app visible to mas list.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos, swift
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100