Skip to content
This repository has been archived by the owner on May 8, 2024. It is now read-only.

Commit

Permalink
Merge pull request #2787 from JustEnoughLinuxOS/dev
Browse files Browse the repository at this point in the history
Addendum to the PR for release
  • Loading branch information
fewtarius authored Feb 1, 2024
2 parents 32cf196 + b48934c commit 4c398b9
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/emulators/tools.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ SYSTEM_RELEASE="System"
SYSTEM_HARDWARE="System"
SYSTEM_PATH="/storage/.config/modules"
SYSTEM_EXTENSION=".sh"
SYSTEM_COMMAND="/usr/bin/run %ROM%"
SYSTEM_COMMAND="%RUNCOMMAND%"
SYSTEM_PLATFORM="tools"
SYSTEM_THEME="tools"
SYSTEM_WIKI_PATH="tools"
2 changes: 1 addition & 1 deletion packages/ui/emulationstation/package.mk
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ makeinstall_target() {
<hardware>system</hardware>
<path>/storage/.config/modules</path>
<extension>.sh</extension>
<command>/usr/bin/run %ROM%</command>
<command>%ROM%</command>
<platform>tools</platform>
<theme>tools</theme>
</system>
Expand Down
8 changes: 8 additions & 0 deletions packages/virtual/emulators/package.mk
Original file line number Diff line number Diff line change
Expand Up @@ -1249,6 +1249,13 @@ makeinstall_target() {
mkdir -p ${INSTALL}/usr/config/emulationstation
cp -f ${ESTMP}/es_systems.cfg ${INSTALL}/usr/config/emulationstation

if [ "${DISPLAYSERVER}" = "wl" ]
then
sed -i 's/%RUNCOMMAND%/weston-terminal --command="%ROM%"/g' ${INSTALL}/usr/config/emulationstation/es_systems.cfg
else
sed -i 's/%RUNCOMMAND%/%ROM%/g' ${INSTALL}/usr/config/emulationstation/es_systems.cfg
fi

### Automount should handle this.
cp -f ${ESTMP}/system-dirs.conf ${INSTALL}/usr/config

Expand All @@ -1258,5 +1265,6 @@ makeinstall_target() {
mkdir -p ${INSTALL}/usr/lib/autostart/common
cp ${PKG_DIR}/autostart/* ${INSTALL}/usr/lib/autostart/common
chmod 0755 ${INSTALL}/usr/lib/autostart/common/*

}

0 comments on commit 4c398b9

Please sign in to comment.