Show iOS version next to device name

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-13 18:30:49 -07:00
parent 85aaf6c41a
commit 3c35f4c4ef

View File

@@ -514,7 +514,11 @@ async function extractMetadata(buf) {
} else if (exif.Image?.Model) { } else if (exif.Image?.Model) {
items.push(["Camera", String(exif.Image.Model)]); items.push(["Camera", String(exif.Image.Model)]);
} }
if (exif.Image?.HostComputer) items.push(["Device", String(exif.Image.HostComputer)]); if (exif.Image?.HostComputer) {
let device = String(exif.Image.HostComputer);
if (exif.Image?.Software) device += `, iOS ${exif.Image.Software}`;
items.push(["Device", device]);
}
if (exif.Photo?.LensModel) items.push(["Lens", String(exif.Photo.LensModel)]); if (exif.Photo?.LensModel) items.push(["Lens", String(exif.Photo.LensModel)]);
if (exif.Photo?.ImageUniqueID) items.push(["Unique ID", String(exif.Photo.ImageUniqueID)]); if (exif.Photo?.ImageUniqueID) items.push(["Unique ID", String(exif.Photo.ImageUniqueID)]);