get,install,lucky, &update: numerous fixes including:- Properly updating App Store upon app installation/upgrade
- Improved concurrency
- Replace existing app receipt
- App Store & macOS regions: for each macOS region without an App Store, map to a default App Store specific to that region
config: binary slice architecture detection- Avoid a JSON parsing error
- arm64 pkg installer no longer require Rosetta to be installed
- Standardized error output formatting
- Cleanup
What's Changed
🚀 Features
- Include mas binary slice architectures & Mac CPU architecture in
configoutput by @rgoldberg in #1119
🐛 Bug Fixes
- Map each macOS region that does not have an App Store to a region that does have an App Store by @rgoldberg in #1118
- Improve concurrency by @rgoldberg in #1120
- json parsing by @rgoldberg in #1121
- Register installed / updated apps with Launch Services to fix incorrect App Store app page button states by @rgoldberg in #1122
- Improve app install/update output by @rgoldberg in #1124
- Delete existing receipt during update by @rgoldberg in #1125
- No longer require Rosetta for arm64 pkg installer by @rgoldberg in #1126
- Fix accurate outdated app detection by @rgoldberg in #1130
Changes
- Make
Error:prefix red & underlined for argument-parsing errors by @rgoldberg in #1101 - Cleanup by @rgoldberg in #1117
- Rename
configfromasdist, etc. by @rgoldberg in #1129 - Conform multiple types to
Sendableby @rgoldberg in #1132 - Update Swift Argument Parser to 1.7.0 by @rgoldberg in #1135
- Update
Package.resolvedby @rgoldberg in #1137 - Improve
configslices output by @rgoldberg in #1139
Full Changelog: v4.1.0...v4.1.1