From 052aab735ab1bb0fc5668a5a1c1a4dad4a37ce00 Mon Sep 17 00:00:00 2001 From: Nate Weaver Date: Tue, 15 Jul 2025 21:40:49 -0500 Subject: [PATCH] Fix importing OPML --- Mac/Resources/Info.plist | 17 +++++++++++++++++ Shared/UniformTypeIdentifiers+Extras.swift | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/Mac/Resources/Info.plist b/Mac/Resources/Info.plist index 63d665f84..73c0ec6cf 100644 --- a/Mac/Resources/Info.plist +++ b/Mac/Resources/Info.plist @@ -100,6 +100,23 @@ UTImportedTypeDeclarations + + UTTypeConformsTo + + public.xml + + UTTypeDescription + OPML + UTTypeIdentifier + org.opml.opml + UTTypeTagSpecification + + public.filename-extension + + opml + + + UTTypeConformsTo diff --git a/Shared/UniformTypeIdentifiers+Extras.swift b/Shared/UniformTypeIdentifiers+Extras.swift index ff1f91092..e33211a7e 100644 --- a/Shared/UniformTypeIdentifiers+Extras.swift +++ b/Shared/UniformTypeIdentifiers+Extras.swift @@ -10,5 +10,5 @@ import UniformTypeIdentifiers extension UTType { - static let opml = UTType(filenameExtension: "opml", conformingTo: UTType.xml)! + static let opml = UTType("org.opml.opml")! }