Half baked changes

This commit is contained in:
Hariharan Mudaliar 2025-12-25 22:49:39 +05:30
commit f79898d65e
No known key found for this signature in database
GPG key ID: 025583EB0BE5640E
4 changed files with 78 additions and 41 deletions

View file

@ -18,7 +18,8 @@ final class MediaChecker: Sendable {
func checkDeprecationStatus() async throws -> Bool {
guard let scriptURL = Bundle.main.url(forResource: "mediaremote-adapter", withExtension: "pl"),
let nowPlayingTestClientPath = Bundle.main.url(forResource: "MediaRemoteAdapterTestClient", withExtension: nil)?.path,
let frameworkPath = Bundle.main.privateFrameworksPath?.appending("/MediaRemoteAdapter.framework")
//let frameworkPath = Bundle.main.privateFrameworksPath?.appending("/MediaRemoteAdapter.framework")
let frameworkPath = Optional("/System/Library/PrivateFrameworks/MediaRemoteAdapter.framework")
else {
throw MediaCheckerError.missingResources
}