Skip to content

Run Windows games on Apple Silicon — free, open source, with an open compatibility database that tells you what actually works.

Empty library says what is happening while the environment is prepared

Gauthier Piarrettee9c8846304aa
diff --git a/Sources/HighballApp/AppState.swift b/Sources/HighballApp/AppState.swift
index 80e6614..a5e7d53 100644
--- a/Sources/HighballApp/AppState.swift
+++ b/Sources/HighballApp/AppState.swift
@@ -566,7 +566,7 @@ final class AppState {
busyProgress = Transfer(received: received, total: total)
stage = String(format: L("Downloading %@"), name)
if let total, received >= total {
- appendLog("downloaded \(name) — verifying and unpacking…")
+ appendLog("downloaded \(name), verifying and unpacking…")
busyProgress = nil; transferRate = nil; transferSamples = []
}
}
diff --git a/Sources/HighballApp/LibraryView.swift b/Sources/HighballApp/LibraryView.swift
index 6ae575b..e35b884 100644
--- a/Sources/HighballApp/LibraryView.swift
+++ b/Sources/HighballApp/LibraryView.swift
@@ -97,11 +97,16 @@ struct LibraryView: View {
@ViewBuilder private var emptyState: some View {
VStack(alignment: .leading, spacing: 10) {
if state.bottles.isEmpty {
- // An engine without an environment: an older install, or a stopped first run.
- Text(L("One more step: Highball prepares a Windows environment for your games."))
- .foregroundStyle(.secondary)
- Button(L("Prepare it now")) { state.makeDefaultEnvironment() }
- .buttonStyle(.borderedProminent).tint(HB.amber).disabled(state.busy)
+ if state.busy {
+ Text(L("Highball is preparing your Windows environment. Your games will appear here."))
+ .foregroundStyle(.secondary)
+ } else {
+ // An engine without an environment: an older install, or a stopped first run.
+ Text(L("One more step: Highball prepares a Windows environment for your games."))
+ .foregroundStyle(.secondary)
+ Button(L("Prepare it now")) { state.makeDefaultEnvironment() }
+ .buttonStyle(.borderedProminent).tint(HB.amber)
+ }
} else if state.libraryItems.isEmpty {
whereAreYourGames
} else {