mirror of
https://github.com/passepartoutvpn/passepartout-apple.git
synced 2025-01-22 08:32:11 +00:00
Assume .appleTV to be enough on tvOS (#1074)
Eligibility is ensured on iOS/macOS "remote" apps and profiles are not editable on TV. The day they can be edited, this will need a rework, but today it should be fine. Regression due to BuildProducts not being credited on Apple TV.
This commit is contained in:
parent
d42b336908
commit
8092c4fb1d
@ -48,6 +48,10 @@ extension IAPManager {
|
|||||||
guard isEligible(for: .appleTV) else {
|
guard isEligible(for: .appleTV) else {
|
||||||
throw AppError.ineligibleProfile([.appleTV])
|
throw AppError.ineligibleProfile([.appleTV])
|
||||||
}
|
}
|
||||||
|
// require only .appleTV to cope with BuildProducts
|
||||||
|
// rely on iOS/macOS eligibility as profiles are not
|
||||||
|
// editable on tvOS
|
||||||
|
return
|
||||||
#endif
|
#endif
|
||||||
let requiredFeatures = features.filter {
|
let requiredFeatures = features.filter {
|
||||||
!isEligible(for: $0)
|
!isEligible(for: $0)
|
||||||
|
Loading…
Reference in New Issue
Block a user