mirror of
https://github.com/linuxserver/docker-mame.git
synced 2026-01-09 07:45:04 +08:00
commit
cddbe9eb9a
@ -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.
|
||||
|
||||
@ -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."}
|
||||
|
||||
12
root/defaults/autostart_wayland
Normal file
12
root/defaults/autostart_wayland
Normal 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
|
||||
7
root/defaults/menu_wayland.xml
Normal file
7
root/defaults/menu_wayland.xml
Normal 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>
|
||||
Loading…
x
Reference in New Issue
Block a user