mirror of
https://github.com/linuxserver/docker-baseimage-selkies.git
synced 2026-03-16 00:02:11 +08:00
add basic manifest support
This commit is contained in:
parent
aed346eca8
commit
7dfda3ce9e
@ -50,7 +50,8 @@ ENV DISPLAY=:1 \
|
||||
START_DOCKER=true \
|
||||
PULSE_RUNTIME_PATH=/defaults \
|
||||
SELKIES_INTERPOSER=/usr/lib/selkies_joystick_interposer.so \
|
||||
DISABLE_ZINK=false
|
||||
DISABLE_ZINK=false \
|
||||
TITLE=Selkies
|
||||
|
||||
RUN \
|
||||
echo "**** install build deps ****" && \
|
||||
|
||||
@ -50,7 +50,8 @@ ENV DISPLAY=:1 \
|
||||
START_DOCKER=true \
|
||||
PULSE_RUNTIME_PATH=/defaults \
|
||||
SELKIES_INTERPOSER=/usr/lib/selkies_joystick_interposer.so \
|
||||
DISABLE_ZINK=false
|
||||
DISABLE_ZINK=false \
|
||||
TITLE=Selkies
|
||||
|
||||
RUN \
|
||||
echo "**** install build deps ****" && \
|
||||
|
||||
@ -80,3 +80,21 @@ mkdir -pm1777 /dev/input
|
||||
touch /dev/input/{js0,js1,js2,js3,event1000,event1001,event1002,event1003}
|
||||
chmod 777 /dev/input/js* /dev/input/event*
|
||||
|
||||
# Manifest creation
|
||||
echo "{
|
||||
\"name\": \"${TITLE}\",
|
||||
\"short_name\": \"${TITLE}\",
|
||||
\"manifest_version\": 2,
|
||||
\"version\": \"1.0.0\",
|
||||
\"display\": \"fullscreen\",
|
||||
\"background_color\": \"#000000\",
|
||||
\"theme_color\": \"#000000\",
|
||||
\"icons\": [
|
||||
{
|
||||
\"src\": \"icon.png\",
|
||||
\"type\": \"image/png\",
|
||||
\"sizes\": \"180x180\"
|
||||
}
|
||||
],
|
||||
\"start_url\": \"/\"
|
||||
}" > /usr/share/selkies/www/manifest.json
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user