diff --git a/README.md b/README.md index 92b2399..01a6a95 100644 --- a/README.md +++ b/README.md @@ -4,4 +4,4 @@ Backgammon for 2 players on 1 device. -screenshot +screenshot diff --git a/docs/backgammon.png b/docs/backgammon.png deleted file mode 100644 index a3a4868..0000000 Binary files a/docs/backgammon.png and /dev/null differ diff --git a/resources/public/img/screenshot_1.png b/resources/public/img/screenshot_1.png new file mode 100644 index 0000000..779edbd Binary files /dev/null and b/resources/public/img/screenshot_1.png differ diff --git a/resources/public/img/screenshot_2.png b/resources/public/img/screenshot_2.png new file mode 100644 index 0000000..eaed8e3 Binary files /dev/null and b/resources/public/img/screenshot_2.png differ diff --git a/src/build/create_manifest.clj b/src/build/create_manifest.clj index ad6b4ee..3e512db 100644 --- a/src/build/create_manifest.clj +++ b/src/build/create_manifest.clj @@ -15,10 +15,20 @@ :sizes "any" :type "image/svg+xml" :purpose "maskable"} + {:src (u/asset "img/icon_192.png" module-id->output-name) + :sizes "192x192" + :type "image/png" + :purpose "maskable"} {:src (u/asset "img/icon_512.png" module-id->output-name) :sizes "512x512" :type "image/png" :purpose "maskable"}] + :screenshots [{:src (u/asset "img/screenshot_1.png" module-id->output-name) + :sizes "1334x750" + :type "image/png"} + {:src (u/asset "img/screenshot_2.png" module-id->output-name) + :sizes "1334x750" + :type "image/png"}] :background_color "#121212" :theme_color "#121212" :display "fullscreen"