mirror of
https://github.com/FunKey-Project/FunKey-OS.git
synced 2025-12-12 15:48:51 +01:00
retrofe new version that stops ampli when necessary, start_launcher stopping/restrarting ampli when necessary
This commit is contained in:
parent
4243dd85b6
commit
a0b6d3f8e8
@ -39,6 +39,9 @@ while true; do
|
|||||||
else
|
else
|
||||||
if [ -f "${GMENU2X_FILE}" ]; then
|
if [ -f "${GMENU2X_FILE}" ]; then
|
||||||
|
|
||||||
|
# Force stop ampli (no sound in gmenu2x)
|
||||||
|
start_audio_amp 0
|
||||||
|
|
||||||
# Launch gmenu2x
|
# Launch gmenu2x
|
||||||
gmenu2x&
|
gmenu2x&
|
||||||
else
|
else
|
||||||
@ -53,6 +56,11 @@ while true; do
|
|||||||
wait $!
|
wait $!
|
||||||
erase_pid
|
erase_pid
|
||||||
|
|
||||||
|
# Restart ampli audio if necessary
|
||||||
|
if [[ "$(volume_get)" -ne "0" ]]; then
|
||||||
|
start_audio_amp 1 >/dev/null 2>&1
|
||||||
|
fi
|
||||||
|
|
||||||
# In case retrofe quits with errors, clear graphic VT
|
# In case retrofe quits with errors, clear graphic VT
|
||||||
termfix_all
|
termfix_all
|
||||||
fi
|
fi
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
#
|
#
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
RETROFE_VERSION = 343f64f
|
RETROFE_VERSION = d07ca9c
|
||||||
RETROFE_SITE_METHOD = git
|
RETROFE_SITE_METHOD = git
|
||||||
RETROFE_SITE = https://github.com/FunKey-Project/RetroFE.git
|
RETROFE_SITE = https://github.com/FunKey-Project/RetroFE.git
|
||||||
RETROFE_DEPENDENCIES = gstreamer1 gst1-plugins-base sdl sdl_image sdl_mixer sdl_sound sdl_ttf libglib2 sqlite zlib
|
RETROFE_DEPENDENCIES = gstreamer1 gst1-plugins-base sdl sdl_image sdl_mixer sdl_sound sdl_ttf libglib2 sqlite zlib
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user