Update Info.plist with Tiled file types#4469
Conversation
CelticMinstrel
left a comment
There was a problem hiding this comment.
Nice! That "conforms to XML" should also let the Finder know that BBEdit can open tmx and tsx files.
I think there were also more file extensions used by the JSON map format? I'm not quite sure; I can't find where I saw those referenced before. Still, recognizing the primary tmx and tsx is already a big improvement.
|
Thanks for the feedback! |
CelticMinstrel
left a comment
There was a problem hiding this comment.
That might be difficult, unless there's an artifact I can download from the CI or something – I'm not set up to build Tiled at the moment and am probably missing most of the dependencies.
|
@CelticMinstrel There are artifacts available for each change. For PRs, click the "Checks" tab at the top, then click on "Build Packages" in the sidebar, and scroll down to "Artifacts". :-) |
CelticMinstrel
left a comment
There was a problem hiding this comment.
Sorry for the delay. It looks like the artifact from this PR works – I can drag-and-drop a .tsx file onto the app and it opens.
But see my comment on the source issue as well.
Fix macOS UTI declarations for Tiled file types
This PR improves macOS file type recognition by properly declaring Uniform Type Identifiers (UTIs).
Changes:
Added LSItemContentTypes for .tmx and .tsx
Added UTExportedTypeDeclarations
Added support for .tsx files (tilesets)
Ensured valid and clean Info.plist structure
Result:
macOS can reliably identify Tiled file types
Double-clicking .tsx files should open correctly
Improves integration with Spotlight and Quick Look
Fixes #4450