mas
mas copied to clipboard
What's the difference between "id: Install" and "id: 0"?
I noticed a change in my Brewfile:
-mas "macOS High Sierra", id: Install
+mas "Install macOS High Sierra", id: 0
Does it mean the update has been downloaded / installed?
Both look wrong. "Install" is not an app ID and the actual id for "macOS High Sierra" (the name in the Mac AppStore) is 124628474
. I'm not sure whether this is a bug in Homebrew or mas, but we may need special handling for OS installers.
Thanks for you reply. I looked again, now there is another change in the Brewfile generated by brew bundle dump
:
-mas "Install macOS High Sierra", id: 0
+mas "macOS High Sierra", id: Install
For what it might be worth, here are some version numbers.
$ brew --version
Homebrew 1.5.14
Homebrew/homebrew-core (git revision 60323; last commit 2018-04-03)
$ brew info mas
mas: stable 1.4.1 (bottled), HEAD
Poured from bottle on 2018-03-23 at 10:26:06
# macOS distro: OS X 10.12.6
I'm fairly certain this is a bug as I just got this when dumping my Brewfile
:
...
mas "installed apps found", id: No
The mas list
command outputs: "No installed apps found" since I'm not currently signed in. I'm not sure whether this is a bug in mas or homebrew-bundle yet.