mas icon indicating copy to clipboard operation
mas copied to clipboard

What's the difference between "id: Install" and "id: 0"?

Open piotr-yuxuan opened this issue 6 years ago • 5 comments

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?

piotr-yuxuan avatar Mar 26 '18 11:03 piotr-yuxuan

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.

phatblat avatar Apr 04 '18 13:04 phatblat

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

piotr-yuxuan avatar Apr 05 '18 10:04 piotr-yuxuan

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.

phatblat avatar Apr 05 '18 16:04 phatblat