Skip to content

Commit

Permalink
fix: gate avx behind macOS 15
Browse files Browse the repository at this point in the history
  • Loading branch information
ohaiibuzzle committed Jun 18, 2024
1 parent 270476a commit f45641c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Whisky/Views/Bottle/ConfigView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,10 @@ struct ConfigView: View {
)
}
}
Toggle(isOn: $bottle.settings.avxEnabled) {
Text("config.avx")
if #available(macOS 15, *) {
Toggle(isOn: $bottle.settings.avxEnabled) {
Text("config.avx")
}
}
}
Section("config.title.dxvk", isExpanded: $dxvkSectionExpanded) {
Expand Down

0 comments on commit f45641c

Please sign in to comment.