From eeb470eb4a6fe8f2fc55372a139212c151ee17ab Mon Sep 17 00:00:00 2001 From: courtneypattison Date: Thu, 26 Jun 2025 15:00:42 -0400 Subject: [PATCH 1/2] Accept SVG for open with --- app/manifest.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/app/manifest.js b/app/manifest.js index e9961d5..cac5e99 100644 --- a/app/manifest.js +++ b/app/manifest.js @@ -3,6 +3,7 @@ export default function manifest() { name: "Pattern Projector", short_name: "PatternProjector", start_url: "/calibrate", + id: "calibrate", icons: [ { src: "144.png", @@ -18,15 +19,28 @@ export default function manifest() { }, ], display: "fullscreen", + display_override: ["fullscreen", "minimal-ui", "standalone"], + orientation: "landscape", + lang: "en-US", + dir: "ltr", + scope: "https://patternprojector.com", + scope_extensions: [{ origin: "*.patternprojector.com" }], + prefer_related_applications: false, + launch_handler: { + client_mode: "navigate-existing", + }, + handle_links: "preferred", background_color: "#fff", description: "Calibrates projectors for projecting sewing patterns with accurate scaling and without perspective distortion", + categories: ["productivity", "design", "sewing"], theme_color: "#fff", file_handlers: [ { action: "/calibrate", accept: { "application/pdf": [".pdf"], + "image/svg+xml": [".svg"], }, }, ], From 7ae73f660572d762ae1c0fe7b6ff81248856b3f4 Mon Sep 17 00:00:00 2001 From: courtneypattison Date: Wed, 16 Jul 2025 16:22:26 -0400 Subject: [PATCH 2/2] Change node version to >=22 for Vercel updates --- package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package.json b/package.json index 17f681c..73d9fbb 100644 --- a/package.json +++ b/package.json @@ -62,5 +62,8 @@ }, "prettier": { "trailingComma": "all" + }, + "engines": { + "node": ">=22.0.0" } }