 }
 
 extension NSPasteboard.PasteboardType {
-    static let lrcFileURL = NSPasteboard.PasteboardType.fileNameType(forPathExtension: "lrc")!
+    static let fileNames = NSPasteboard.PasteboardType("NSFilenamesPboardType")
 }

            return true
        }
        
        if pboard.types?.contains(.lrcFileURL) == true,
            let files = pboard.propertyList(forType: .lrcFileURL) as? [Any],
            let path = files.first as? String,
            let str = try? String(contentsOf: URL(fileURLWithPath: path)) {
            dragDelegate?.dragFinished(content: str)


    required init?(coder: NSCoder) {
        super.init(coder: coder)
        registerForDraggedTypes([.string, .fileNames])
    }
    
    override func draggingEntered(_ sender: NSDraggingInfo) -> NSDragOperation {
