Selkies Checkpoint 6 - PWA Icons
All checks were successful
Build & Push Docker Image / build-and-publish (push) Successful in 23s
All checks were successful
Build & Push Docker Image / build-and-publish (push) Successful in 23s
This commit is contained in:
12
Dockerfile
12
Dockerfile
@@ -33,6 +33,18 @@ RUN usermod -a -G audio abc
|
||||
# Add RuneLite icon for Selkies interface and favicon
|
||||
COPY icons/ /usr/share/selkies/www/
|
||||
|
||||
# Inject iOS webapp meta tags into Selkies HTML (if index.html exists)
|
||||
RUN if [ -f /usr/share/selkies/www/index.html ]; then \
|
||||
sed -i '/<\/head>/i\<!-- RuneLite iOS WebApp Support -->' /usr/share/selkies/www/index.html && \
|
||||
sed -i '/<\/head>/i\<meta name="apple-mobile-web-app-capable" content="yes">' /usr/share/selkies/www/index.html && \
|
||||
sed -i '/<\/head>/i\<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">' /usr/share/selkies/www/index.html && \
|
||||
sed -i '/<\/head>/i\<meta name="apple-mobile-web-app-title" content="RuneLite">' /usr/share/selkies/www/index.html && \
|
||||
sed -i '/<\/head>/i\<link rel="apple-touch-icon" sizes="180x180" href="apple-touch-icon.png">' /usr/share/selkies/www/index.html && \
|
||||
sed -i '/<\/head>/i\<link rel="apple-touch-icon" sizes="152x152" href="apple-touch-icon-152x152.png">' /usr/share/selkies/www/index.html && \
|
||||
sed -i '/<\/head>/i\<link rel="manifest" href="manifest.json">' /usr/share/selkies/www/index.html && \
|
||||
sed -i '/<\/head>/i\<meta name="theme-color" content="#ff6600">' /usr/share/selkies/www/index.html; \
|
||||
fi
|
||||
|
||||
|
||||
|
||||
ENV RUNELITE_URL="https://github.com/runelite/launcher/releases/latest/download/RuneLite.jar"
|
||||
|
||||
BIN
icons/apple-touch-icon-144x144.png
Normal file
BIN
icons/apple-touch-icon-144x144.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 42 KiB |
BIN
icons/apple-touch-icon-152x152.png
Normal file
BIN
icons/apple-touch-icon-152x152.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 46 KiB |
BIN
icons/apple-touch-icon.png
Normal file
BIN
icons/apple-touch-icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 61 KiB |
37
icons/manifest.json
Normal file
37
icons/manifest.json
Normal file
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"name": "RuneLite",
|
||||
"short_name": "RuneLite",
|
||||
"description": "RuneLite OSRS Client in Browser",
|
||||
"start_url": "/",
|
||||
"display": "fullscreen",
|
||||
"orientation": "landscape",
|
||||
"theme_color": "#ff6600",
|
||||
"background_color": "#000000",
|
||||
"icons": [
|
||||
{
|
||||
"src": "icon.png",
|
||||
"sizes": "512x512",
|
||||
"type": "image/png"
|
||||
},
|
||||
{
|
||||
"src": "apple-touch-icon.png",
|
||||
"sizes": "180x180",
|
||||
"type": "image/png"
|
||||
},
|
||||
{
|
||||
"src": "apple-touch-icon-152x152.png",
|
||||
"sizes": "152x152",
|
||||
"type": "image/png"
|
||||
},
|
||||
{
|
||||
"src": "apple-touch-icon-144x144.png",
|
||||
"sizes": "144x144",
|
||||
"type": "image/png"
|
||||
},
|
||||
{
|
||||
"src": "favicon.png",
|
||||
"sizes": "32x32",
|
||||
"type": "image/png"
|
||||
}
|
||||
]
|
||||
}
|
||||
22
icons/webapp-meta.html
Normal file
22
icons/webapp-meta.html
Normal file
@@ -0,0 +1,22 @@
|
||||
<!-- iOS Web App Meta Tags -->
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
||||
<meta name="apple-mobile-web-app-title" content="RuneLite">
|
||||
<meta name="mobile-web-app-capable" content="yes">
|
||||
<meta name="application-name" content="RuneLite">
|
||||
|
||||
<!-- iOS Icons -->
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="apple-touch-icon.png">
|
||||
<link rel="apple-touch-icon" sizes="152x152" href="apple-touch-icon-152x152.png">
|
||||
<link rel="apple-touch-icon" sizes="144x144" href="apple-touch-icon-144x144.png">
|
||||
|
||||
<!-- Standard Icons -->
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="favicon.png">
|
||||
<link rel="shortcut icon" href="favicon.ico">
|
||||
|
||||
<!-- Web App Manifest -->
|
||||
<link rel="manifest" href="manifest.json">
|
||||
|
||||
<!-- Theme Color -->
|
||||
<meta name="theme-color" content="#ff6600">
|
||||
<meta name="msapplication-TileColor" content="#ff6600">
|
||||
Reference in New Issue
Block a user