-
Notifications
You must be signed in to change notification settings - Fork 286
Description
mas config
mas ▁▁▁▁ 2.0.0
arch ▁▁▁ arm64
from ▁▁▁ homebrew/core/mas
origin ▁ https://github.com/mas-cli/mas.git
rev ▁▁▁▁ 5c1cb403cb710b8e81a192331253eccc6fac42a0
driver ▁ 1.115.1
swift ▁▁ 6.0.3 (swiftlang-6.0.3.1.10 clang-1600.0.30.1)
region ▁ US
macos ▁▁ 15.4 (24E248)
mac ▁▁▁▁ Mac16,6
cpu ▁▁▁▁ Apple M4 Max
Bug description
Starting in version 2.0.0, mas upgrade
(with no arguments) will fail with an error if an application that is no longer on the App Store is installed. mas install
and Homebrew bundle still work if the application has been installed manually.
Can the behavior of mas upgrade
be changed so that app IDs that are not found are skipped? If not by default, could this be added as a command line option?
Steps to reproduce
$ mas list | grep 520411565
520411565 Crow (1.1.0)
$ mas upgrade
Error: Unknown app ID 520411565
$ mas info 520411565
Error: Unknown app ID 520411565
$ mas install 520411565
Warning: Crow is already installed
$ sudo mas uninstall 520411565
Password:
Deleted '/Applications/Crow.app' to '/.nofollow/Users/agamemnon/.Trash/Crow 8.55.41 AM.app'
$ mas install 520411565
Warning: App ID 520411565 not found in Mac App Store.