Skip to content

Commit

Permalink
support for Music app on macOS Catalina
Browse files Browse the repository at this point in the history
  • Loading branch information
kmikiy committed Oct 21, 2019
1 parent a2742ad commit 5e119e6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion MusicPlayer/Model/Enumeration.swift
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,11 @@ public enum MusicPlayerName: String {
var bundleID: String {
switch self {
case .iTunes:
return "com.apple.iTunes"
if #available(macOS 10.15, *) {
return "com.apple.Music"
} else {
return "com.apple.iTunes"
}
case .vox:
return "com.coppertino.Vox"
case .spotify:
Expand Down

0 comments on commit 5e119e6

Please sign in to comment.