mirror of
https://github.com/mas-cli/mas
synced 2024-11-24 20:43:10 +00:00
⚠️ Add a temporary warning about macOS Monterey
This commit is contained in:
parent
9305160b2e
commit
02ceea49cd
1 changed files with 9 additions and 0 deletions
|
@ -7,10 +7,19 @@
|
|||
//
|
||||
|
||||
import Commandant
|
||||
import Foundation
|
||||
import MasKit
|
||||
|
||||
MasKit.initialize()
|
||||
|
||||
let monterey = OperatingSystemVersion(majorVersion: 12, minorVersion: 0, patchVersion: 0)
|
||||
if ProcessInfo.processInfo.isOperatingSystemAtLeast(monterey) {
|
||||
printWarning(
|
||||
"mas is not yet functional on macOS Monterey (12) due to changes in macOS frameworks. "
|
||||
+ "To track progress or to *contribute* to fixing this issue, please see: "
|
||||
+ "https://github.com/mas-cli/mas/issues/417")
|
||||
}
|
||||
|
||||
let registry = CommandRegistry<MASError>()
|
||||
let helpCommand = HelpCommand(registry: registry)
|
||||
|
||||
|
|
Loading…
Reference in a new issue