mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
Bump Apple Silicon build to macOS 12+
Latest Xcode has broken macOS 11 on ARM, and I can't find a workaround https://forums.ankiweb.net/t/can-t-open-anki-after-download/36938/14
This commit is contained in:
parent
f2fba6f9e8
commit
9cd4f04677
1 changed files with 7 additions and 1 deletions
|
@ -58,7 +58,13 @@ impl DistKind {
|
|||
|
||||
fn macos_min(&self) -> &str {
|
||||
match self {
|
||||
DistKind::Standard => "11",
|
||||
DistKind::Standard => {
|
||||
if env::var("MAC_X86").is_ok() {
|
||||
"11"
|
||||
} else {
|
||||
"12"
|
||||
}
|
||||
}
|
||||
DistKind::Alternate => "10.13.4",
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue