You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Click on '+' at the top of the app to create a new shortcut.
In the shortcut, add an action called "Run Shell Script"
Set the following:
PATH=$PATH:/opt/homebrew/bin
mas list
Shell: "zsh"
Input: "Input"
Pass Input: "to stdin"
Run as Administrator: checked
Add an action called "Show Result" after the previous action and set the "Shell Script Result" as the output.
Repeat Steps 3-5 for commands "mas outdated" and "mas upgrade".
Expected Behavior
I expected a list of apps to show like the results from Terminal.
I expected a list of outdated apps to show like the results from Terminal.
I expected outdated apps to upgrade and show like the results from Terminal.
Actual Behavior
Got an output of "No installed apps found".
Got an output of "".
Got an output of "Warning: Nothing found to upgrade".
Screenshots, Terminal Output
The text was updated successfully, but these errors were encountered:
AND I'm dumb lol! Unchecking the "Run as administrator" fixed it. I think I originallly had it checked because of the full disk access permissions being weird.
Your Environment
mas version
: 1.8.6system_profiler SPSoftwareDataType -detailLevel mini
): 10.1...mas Install Method
brew install mas
(homebrew-core).pkg
installer from releasesDescribe the Bug
Running "mas" commands in Shortcuts app's "Run Shell Script" action is not detecting any installed apps on the system when running these commands:
To Reproduce
You can use this link to get a copy of the shortcut instead of manually creating one: https://www.icloud.com/shortcuts/25b3da7ce04b467bb75dc83dbd4b631c
Steps to reproduce the behavior:
PATH=$PATH:/opt/homebrew/bin mas list
Expected Behavior
Actual Behavior
Screenshots, Terminal Output
The text was updated successfully, but these errors were encountered: