Skip to content

Free fork of NotProton: Windows Steam games in Mac Steam, on CodeWeavers' Wine and Apple's Game Porting Toolkit

Show full paths for missing components

Logand642c4a717c6
diff --git a/app/Sources/NotProtonApp/Views/StatusView.swift b/app/Sources/NotProtonApp/Views/StatusView.swift
index 6551c60..05b739e 100644
--- a/app/Sources/NotProtonApp/Views/StatusView.swift
+++ b/app/Sources/NotProtonApp/Views/StatusView.swift
@@ -727,9 +727,7 @@ struct StatusView: View {
} else {
Section("NotProton Components") {
if !payload.missing.isEmpty {
- let names = payload.missing.map {
- URL(filePath: $0.path).lastPathComponent
- }.joined(separator: ", ")
+ let names = payload.missing.map(\.path).joined(separator: ", ")
StatusRow(
title: String(localized: "Missing."),
value: names,