Updates before release

This commit is contained in:
Hariharan Mudaliar 2025-12-25 23:51:29 +05:30
commit 43b5a2802f
No known key found for this signature in database
GPG key ID: 025583EB0BE5640E
5 changed files with 21 additions and 10 deletions

View file

@ -135,7 +135,12 @@ final class NowPlayingController: ObservableObject, MediaControllerProtocol {
let process = Process()
guard
let scriptURL = Bundle.main.url(forResource: "mediaremote-adapter", withExtension: "pl"),
let frameworkPath = Bundle.main.privateFrameworksPath?.appending("/MediaRemoteAdapter.framework")
//let frameworkPath = Bundle.main.privateFrameworksPath?.appending("/MediaRemoteAdapter.framework")
let frameworkPath =
Bundle.main.resourceURL?
.appendingPathComponent("MediaRemoteAdapter.framework")
.path
else {
assertionFailure("Could not find mediaremote-adapter.pl script or framework path")
return