Merge pull request #78 from fewtarius/dev

Dev
This commit is contained in:
fewtarius 2022-04-18 16:29:21 -04:00 committed by GitHub
commit 2bf3015bce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 2 deletions

View file

@ -5,7 +5,6 @@
. /etc/os-release . /etc/os-release
export PATH="$PATH:/usr/local/bin:/usr/bin:/storage/bin" export PATH="$PATH:/usr/local/bin:/usr/bin:/storage/bin"
export SDL_GAMECONTROLLERCONFIG_FILE="/storage/.config/SDL-GameControllerDB/gamecontrollerdb.txt" export SDL_GAMECONTROLLERCONFIG_FILE="/storage/.config/SDL-GameControllerDB/gamecontrollerdb.txt"
J_DIR="/storage/.config/system" J_DIR="/storage/.config/system"

View file

@ -39,6 +39,8 @@ makeinstall_target() {
mkdir -p ${INSTALL}/usr/config/emulationstation/resources mkdir -p ${INSTALL}/usr/config/emulationstation/resources
cp -rf ${PKG_BUILD}/resources/* ${INSTALL}/usr/config/emulationstation/resources/ cp -rf ${PKG_BUILD}/resources/* ${INSTALL}/usr/config/emulationstation/resources/
rm -rf ${INSTALL}/usr/config/emulationstation/resources/logo.png rm -rf ${INSTALL}/usr/config/emulationstation/resources/logo.png
cp ${PKG_BUILD}/es_profile ${INSTALL}/usr/config/emulationstation
chmod 0755 ${INSTALL}/usr/config/emulationstation/es_profile
mkdir -p ${INSTALL}/usr/lib/${PKG_PYTHON_VERSION} mkdir -p ${INSTALL}/usr/lib/${PKG_PYTHON_VERSION}
cp -rf ${PKG_DIR}/bluez/* ${INSTALL}/usr/lib/${PKG_PYTHON_VERSION} cp -rf ${PKG_DIR}/bluez/* ${INSTALL}/usr/lib/${PKG_PYTHON_VERSION}

View file

@ -0,0 +1,3 @@
#!/bin/sh
. /etc/profile
export SDL_AUDIODRIVER=alsa

View file

@ -4,7 +4,7 @@ ConditionPathExists=/var/lock/start.games
[Service] [Service]
Environment=HOME=/storage Environment=HOME=/storage
EnvironmentFile=/etc/profile EnvironmentFile=/usr/config/emulationstation/es_profile
ExecStartPre=/usr/bin/emustation-config ExecStartPre=/usr/bin/emustation-config
ExecStart=/usr/bin/emulationstation --log-path /var/log ExecStart=/usr/bin/emulationstation --log-path /var/log
KillMode=process KillMode=process