-
Notifications
You must be signed in to change notification settings - Fork 276
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
Improve automation: avoid opening GUI dialogs #70
Comments
Thanks for your suggestions Eduard! I'll take a look whether it's possible to avoid blocking in these situations. |
@rodionovd Thanks! Another block scenario I ran into - for some apps (maybe all apps?), when the app is open/running, the Mac App Store GUI pops up a dialog to ask whether it's ok to close to app to be able to update it. |
Oh nice one! Will look into this too |
Observation: Running I was doing some testing using a [EDIT] |
@allansan great insight, thanks! Will take that into account |
Another thing—could you maybe add some sort of I'm using |
@geerlingguy such a great idea! Would be awesome if you create a PR for this ⭐️(else I'll implement it myself at the weekend anyway) |
@geerlingguy I just realized you can actually use |
@rodionovd - You're quite correct!
It's adequate for my needs. Thanks! |
What do you guys recommend to interact with the GUI errors the app store gives? They can easily be bypassed by clicking a button but how do we do that in a script so that the app updates continue?
use case: If you have an app purchased from another app store, the app store app will give an error but the error can be bypassed by simply clicking OK and the updates do continue. One possibility is to mute the errors and another one is to use some advanced scripting to interact with the GUI prompts. |
@allansan I am not sure on what you did, but I am unable to run mas over SSH even using sudo mas signin... does it really work? |
Listing purchased apps split off into #567. |
I'm running mas over ssh to several machines to automate install of mas apps. Different machines may be signed into different mas accounts, and the apps each one has purchased may be different.
Currently attempting to install an app that's not "purchased" blocks the mas tool. Also not being logged in blocks the tool. Blocks in the sense a dialog would normally pop up when running locally on the machine, but remotely over ssh there is no way to interact with dialog boxes popped up by the Apple MAS app.
The following, which may or may not be possible, would make proper automation possible:
The text was updated successfully, but these errors were encountered: