Skip to content

fix: apply Apple device wallpaper packs to their real PosterBoard extension - #76

Merged
gievano merged 1 commit into
mainfrom
fix/posterboard-apple-wallpaper
Aug 25, 2026
Merged

gievano merged 1 commit into
mainfrom
fix/posterboard-apple-wallpaper

Conversation

@gievano

@gievano gievano commented Aug 25, 2026

Copy link
Copy Markdown
Owner

What

PosterBoard wallpaper import always forced descriptors into com.apple.WallpaperKit.CollectionsPoster. Apple device packs (e.g. "iPhone 17 Pro") are a container layout whose real extension is com.apple.MercuryPoster, so the descriptor was injected under the wrong extension and PosterBoard silently discarded it — the wallpaper fell back to the device's own default set.

Fix

  • Added getDescriptorsFromTendie(_:) (faithful to Pocket-Poster): reads container / descriptors / ordered-* / video-descriptors layouts and keys descriptors by their real extension.
  • Handles the single-wrapper-folder exports ("Standalone" packs) and excludes __MACOSX junk that .skipsHiddenFiles misses.
  • Legacy marker-based findDescriptors kept as a fallback for unusual packs.

Verification

Parsed the actual iPhone 17 Pro.tendies and a custom pack locally: Apple now resolves to com.apple.MercuryPoster, custom to com.apple.WallpaperKit.CollectionsPoster.

Test plan

  • On device: install an Apple device pack (e.g. "iPhone 17 Pro") on a non-matching device → Collections shows that device's art, not the local default.
  • Install a custom pack → still applies.
  • Reset Collections still wipes imported descriptors.

🤖 Generated with opencode

@gievano
gievano merged commit 39d28d1 into main Aug 25, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant