Merge pull request #3 from linuxserver/wayland

add wayland init logic
This commit is contained in:
Ryan Kuba 2025-12-23 13:56:33 +00:00 committed by GitHub
commit cddbe9eb9a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 21 additions and 0 deletions

View File

@ -569,4 +569,5 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
## Versions
* **20.12.25:** - Add Wayland init logic.
* **03.07.25:** - Initial release.

View File

@ -108,4 +108,5 @@ init_diagram: |
"mame:latest" <- Base Images
# changelog
changelogs:
- {date: "20.12.25:", desc: "Add Wayland init logic."}
- {date: "03.07.25:", desc: "Initial release."}

View File

@ -0,0 +1,12 @@
#!/bin/bash
# Copy default config
if [ ! -f "${HOME}/.mame/mame.ini" ]; then
mkdir -p "${HOME}/.mame"
cp \
/defaults/mame.ini \
"${HOME}/.mame/mame.ini"
fi
# Run MAME
foot -e /usr/games/mame

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<openbox_menu xmlns="http://openbox.org/3.4/menu">
<menu id="root-menu" label="MENU">
<item label="foot" icon="/usr/share/icons/hicolor/48x48/apps/foot.png"><action name="Execute"><command>/usr/bin/foot</command></action></item>
<item label="MAME" icon="/usr/share/icons/hicolor/128x128/apps/mame.png"><action name="Execute"><command>foot -e /usr/games/mame</command></action></item>
</menu>
</openbox_menu>