Free fork of NotProton: Windows Steam games in Mac Steam, on CodeWeavers' Wine and Apple's Game Porting Toolkit
Swift apple-silicond3dmetaldxmtdxvkgame-porting-toolkitgptkmac-gamingmacosmetalfxrosetta-2steamsteam-playwinewinecx
UI improvements
NotProtonNot1cdf8c83a997
diff --git a/app/Sources/NotProtonApp/Model/PrefixStore.swift b/app/Sources/NotProtonApp/Model/PrefixStore.swiftindex a8db072..911b04e 100644--- a/app/Sources/NotProtonApp/Model/PrefixStore.swift+++ b/app/Sources/NotProtonApp/Model/PrefixStore.swift@@ -216,8 +216,6 @@ enum PrefixStore {case privateSize, allocated}- static let privateSizeHelp: LocalizedStringResource = "Private size excludes shared APFS extents. Other filesystems use allocated size when private size is unavailable. This is not guaranteed space reclaimed by deletion."-static func directoryBytes(_ url: URL, metric: SizeMetric = .privateSize) -> Int64 {struct FileID: Hashable {let device: dev_tdiff --git a/app/Sources/NotProtonApp/Views/BackupsView.swift b/app/Sources/NotProtonApp/Views/BackupsView.swiftindex ae4e5a5..37819e9 100644--- a/app/Sources/NotProtonApp/Views/BackupsView.swift+++ b/app/Sources/NotProtonApp/Views/BackupsView.swift@@ -159,7 +159,6 @@ struct BackupsView: View {Text(backup.bytes.formatted(.byteCount(style: .file))).monospacedDigit().foregroundStyle(.secondary)- .help(Text(PrefixStore.privateSizeHelp))}.width(min: 56, ideal: 90)diff --git a/app/Sources/NotProtonApp/Views/PrefixesView.swift b/app/Sources/NotProtonApp/Views/PrefixesView.swiftindex 2a1aff3..3eda79d 100644--- a/app/Sources/NotProtonApp/Views/PrefixesView.swift+++ b/app/Sources/NotProtonApp/Views/PrefixesView.swift@@ -244,10 +244,6 @@ struct PrefixesView: View {.menuIndicator(.hidden).fixedSize().disabled(model.isBusy || model.tools.isEmpty)- .help(- "Last run by a build that is no longer set up, so the game cannot "- + "start. Click to rebuild the prefix."- ).accessibilityLabel("Needs rebuilding")}Text(prefix.title).help(prefix.title)@@ -291,7 +287,6 @@ struct PrefixesView: View {Text(usage.bytes.formatted(.byteCount(style: .file))).monospacedDigit().foregroundStyle(.secondary)- .help(Text(PrefixStore.privateSizeHelp))} else {Text("Calculating…").foregroundStyle(contrast == .increased ? .secondary : .tertiary)diff --git a/app/Sources/NotProtonApp/Views/StatusView.swift b/app/Sources/NotProtonApp/Views/StatusView.swiftindex f807fa9..ff800d6 100644--- a/app/Sources/NotProtonApp/Views/StatusView.swift+++ b/app/Sources/NotProtonApp/Views/StatusView.swift@@ -50,7 +50,6 @@ struct StatusRow: View {var tone: StatusTone?var detail: String?var trailing: String?- var trailingHelp: LocalizedStringResource = ""var secondaryAction: StatusAction?var action: StatusAction?var menu: [StatusAction] = []@@ -93,7 +92,6 @@ struct StatusRow: View {.monospacedDigit().foregroundStyle(.secondary).multilineTextAlignment(.trailing)- .help(Text(trailingHelp)).padding(.trailing, action == nil && menu.isEmpty ? 0 : 8)}if let toggle {@@ -546,7 +544,6 @@ struct StatusView: View {tone: crossOverTone(row),detail: crossOverDetail(row, tools: tools),trailing: row.copy == .ready ? buildSize(row.buildID) : nil,- trailingHelp: "Runner and template allocated footprints are shown separately. Templates include mounted Steam libraries and may share APFS extents with prefixes. These are not additive physical usage or guaranteed space reclaimed by deletion.",action: crossOverAction(row, prominent: snapshot.runner == .none),menu: crossOverMenu(row))