mirror of
https://github.com/TuringSoftware/CrystalFetch.git
synced 2026-01-06 12:24:07 +08:00
content: show notice when using build incompatible with virtualization
This commit is contained in:
parent
8482fec6be
commit
a7368fdd31
2 changed files with 6 additions and 0 deletions
|
|
@ -78,6 +78,9 @@ struct BuildConfigView: View {
|
|||
}))
|
||||
}
|
||||
}
|
||||
if build.arch == "arm64" && Float(build.build) ?? 0 < 21390.0 {
|
||||
Text("Note: This build does not work for virtualization on Apple Silicon.")
|
||||
}
|
||||
}.disabled(worker.isBusy)
|
||||
}
|
||||
Spacer()
|
||||
|
|
|
|||
|
|
@ -57,6 +57,9 @@ struct SimpleContentView: View {
|
|||
Text(edition.display).tag(edition.id)
|
||||
}
|
||||
}
|
||||
if isWindows10 && selected.architecture == "ARM64" {
|
||||
Text("Note: This build does not work for virtualization on Apple Silicon.")
|
||||
}
|
||||
}.disabled(worker.isBusy)
|
||||
.onChange(of: isWindows10) { newValue in
|
||||
worker.refreshEsdCatalog(windows10: newValue)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue