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
Solve support workload issues by making it clear that the trial is not supported
NotProtonNot4298abb2fd0c
diff --git a/app/Sources/NotProtonApp/Model/CrossOverLicense.swift b/app/Sources/NotProtonApp/Model/CrossOverLicense.swiftindex 3e34be9..d5432c9 100644--- a/app/Sources/NotProtonApp/Model/CrossOverLicense.swift+++ b/app/Sources/NotProtonApp/Model/CrossOverLicense.swift@@ -25,7 +25,8 @@ enum CrossOverLicense {private static let licenseBase = "com.codeweavers.CrossOver"static let notActivatedTitle = String(localized: "CrossOver does not appear to be activated.")- static let notActivatedAdvice = String(localized: "Please run CrossOver and try again.")+ static let trialUnsupported = String(localized: "The trial version is not supported.")+ static let notActivatedAdvice = "\(String(localized: "Please run CrossOver and try again.")) \(trialUnsupported)"static var notActivated: String { "\(notActivatedTitle) \(notActivatedAdvice)" }static let defaultOpenssl = "/usr/bin/openssl"diff --git a/app/Sources/NotProtonApp/Resources/Localization/Localizable.xcstrings b/app/Sources/NotProtonApp/Resources/Localization/Localizable.xcstringsindex 767076f..a357a56 100644--- a/app/Sources/NotProtonApp/Resources/Localization/Localizable.xcstrings+++ b/app/Sources/NotProtonApp/Resources/Localization/Localizable.xcstrings@@ -3751,6 +3751,9 @@}}},+ "The trial version is not supported." : {+ "shouldTranslate" : false+ },"There is no ntdll to patch at %@." : {"localizations" : {"zh-Hans" : {diff --git a/app/Sources/NotProtonApp/Views/StatusView.swift b/app/Sources/NotProtonApp/Views/StatusView.swiftindex dca7509..cfb3afa 100644--- a/app/Sources/NotProtonApp/Views/StatusView.swift+++ b/app/Sources/NotProtonApp/Views/StatusView.swift@@ -599,7 +599,7 @@ struct StatusView: View {let names = tools.filter { $0.build == row.buildID }.map(\.display)lines.append(contentsOf: names)}- if row.copy == .none, row.licensed == false { lines.append(String(localized: "Open CrossOver to activate it.")) }+ if row.copy == .none, row.licensed == false { lines.append("\(String(localized: "Open CrossOver to activate it.")) \(CrossOverLicense.trialUnsupported)") }if let install = row.install {var path = install.bundle.path(percentEncoded: false)if path.count > 1, path.hasSuffix("/") { path.removeLast() }