Skip to content
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

Is it possible to install from cache? #224

Closed
roeybiran opened this issue Mar 13, 2019 · 1 comment
Closed

Is it possible to install from cache? #224

roeybiran opened this issue Mar 13, 2019 · 1 comment

Comments

@roeybiran
Copy link

Hi, thanks for this wonderful utility!

I was wondering if it would be possible to just download all App Store apps in advance, then install it from cache later on? This could be mighty useful when setting up a new machine — it would be make the whole process much speedier.

Note: this functionality is achieved in brew using the brew fetch command.

Thanks!

@phatblat
Copy link
Member

Unfortunately, this does not seem possible. mas is really just a hack that taps into some App Store functionality. The "install" action actually triggers a "purchase" and then monitors the resulting download.

Right now, this "purchase" only works if you've previously purchased the app in question. I'm researching whether we can change this for macOS installers in #144 since they don't require a login through the GUI app.

The only workaround for this might benefit installation across multiple macs: set up content caching on one Mac and make sure all Macs are on the same network subnet. The first download of an app would take the normal time, but it would get saved in a cache on the configured Mac. Subsequent downloads of the same app would use the local Mac cache instead of redownloading the app from the cloud.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants