Closed LouisRoselli closed 4 weeks ago
Uncheck Run as Administrator
.
sudo mas list
, not mas list
, is the same as Run as Administrator
.
e.g.:
$ sudo mas list
Password:
Error: No installed apps found
$ mas list
497799835 Xcode (14.2)
…
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.6macOS version (
system_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:
Expected Behavior
Actual Behavior
Screenshots, Terminal Output