Moved images into directory structure

As requested in #122 moved all the image files into a correct directory structure.
This does seem a bit logical indeed. And it makes it more clear where
which replaced image goes. It also makes the `cp` command less error prone.

Fixes #122
This commit is contained in:
BlackDex 2023-03-28 17:49:13 +02:00
parent 61d0ef28bb
commit b6a7cdb5e5
No known key found for this signature in database
GPG key ID: 58C80A2AA6C765E1
13 changed files with 1 additions and 12 deletions

View file

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View file

Before

Width:  |  Height:  |  Size: 734 B

After

Width:  |  Height:  |  Size: 734 B

View file

Before

Width:  |  Height:  |  Size: 734 B

After

Width:  |  Height:  |  Size: 734 B

View file

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

View file

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View file

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

View file

Before

Width:  |  Height:  |  Size: 372 B

After

Width:  |  Height:  |  Size: 372 B

View file

Before

Width:  |  Height:  |  Size: 886 B

After

Width:  |  Height:  |  Size: 886 B

View file

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

View file

Before

Width:  |  Height:  |  Size: 6.8 KiB

After

Width:  |  Height:  |  Size: 6.8 KiB

View file

Before

Width:  |  Height:  |  Size: 5.3 KiB

After

Width:  |  Height:  |  Size: 5.3 KiB

View file

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

View file

@ -15,18 +15,7 @@ if [[ -z ${PATCH_NAME} ]]; then
fi fi
echo "Patching images" echo "Patching images"
cp -vf ../resources/logo-dark@2x.png ./apps/web/src/images/logo-dark@2x.png cp -vfR ../resources/src/* ./apps/web/src/
cp -vf ../resources/logo-white@2x.png ./apps/web/src/images/logo-white@2x.png
cp -vf ../resources/icon-white.png ./apps/web/src/images/icon-white.png
cp -vf ../resources/android-chrome-192x192.png ./apps/web/src/images/icons/android-chrome-192x192.png
cp -vf ../resources/android-chrome-512x512.png ./apps/web/src/images/icons/android-chrome-512x512.png
cp -vf ../resources/apple-touch-icon.png ./apps/web/src/images/icons/apple-touch-icon.png
cp -vf ../resources/favicon-16x16.png ./apps/web/src/images/icons/favicon-16x16.png
cp -vf ../resources/favicon-32x32.png ./apps/web/src/images/icons/favicon-32x32.png
cp -vf ../resources/mstile-150x150.png ./apps/web/src/images/icons/mstile-150x150.png
cp -vf ../resources/safari-pinned-tab.svg ./apps/web/src/images/icons/safari-pinned-tab.svg
cp -vf ../resources/favicon.ico ./apps/web/src/favicon.ico
echo "Using patch: ${PATCH_NAME}" echo "Using patch: ${PATCH_NAME}"
git apply "../patches/${PATCH_NAME}" --reject git apply "../patches/${PATCH_NAME}" --reject