rgnano: Change ROCKBOX_DIR to /mnt/FunKey/.rockbox

For consistency's sake.

Change-Id: Ia2ef27dceaf143ab85adb22581c6461d50914a84
This commit is contained in:
Hairo R. Carela 2025-08-08 21:47:08 -04:00
parent 50f10681b3
commit 707585e6c0
6 changed files with 16 additions and 13 deletions

View file

@ -1043,7 +1043,7 @@ need to be updated.\\
You can uninstall Rockbox simply by removing:
\begin{itemize}
\item The \fname{Applications/rockbox-funkey-s.opk} file.
\item The \fname{FunKey/rockbox} folder.
\item The \fname{FunKey/.rockbox} folder.
\end{itemize}
in the microSD card of your \dap{}.
}

View file

@ -1,7 +1,7 @@
# .cfg file created by rockbox c145f41658-250621 - http://www.rockbox.org
idle poweroff: 0
font: /FunKey/rockbox/fonts/16-WenQangYi-Unibit.fnt
font: /FunKey/.rockbox/fonts/16-GNU-Unifont.fnt
database scan paths: /Music
qs top: brightness
qs bottom: brightness

View file

@ -1,6 +1,7 @@
#!/bin/sh
RBDIR=/mnt/FunKey/rockbox
RBDIR_OLD=/mnt/FunKey/rockbox
RBDIR=/mnt/FunKey/.rockbox
CFGFILE=$RBDIR/config.cfg
BLPATH=/sys/class/backlight/backlight/brightness
@ -9,7 +10,13 @@ _send_sigusr1()
kill -s USR1 "$rb_pid" 2>/dev/null
}
# Install the rockbox folder
# Check if the old folder exists and rename it
# TODO: Remove this later, maybe when there's a new stable update?
if [ -d $RBDIR_OLD ]; then
mv $RBDIR_OLD $RBDIR
fi
# Install or update the rockbox folder
if [ ! -d $RBDIR ]; then
notif set 0 " Installing rockbox..."
mkdir -p $RBDIR

2
tools/configure vendored
View file

@ -1012,7 +1012,7 @@ rgnanocc () {
thread_support="HAVE_SDL_THREADS"
sdl="$FUNKEY_SDK_PATH/arm-funkey-linux-musleabihf/sysroot/usr/bin/sdl-config"
rbdir="/FunKey/rockbox"
rbdir="/FunKey/.rockbox"
}

View file

@ -118,7 +118,7 @@ Font.320x480x(16|24|32): 27-Adobe-Helvetica.fnt
Font.320x240x(16|24|32): 15-Adobe-Helvetica.fnt
Font.240x400x(16|24|32): 16-Adobe-Helvetica.fnt
Font.240x320x(16|24|32): 18-Adobe-Helvetica.fnt
Font.240x240x(16|24|32): 16-WenQangYi-Unibit.fnt
Font.240x240x(16|24|32): 16-GNU-Unifont.fnt
Font.220x176x(16|24|32): 12-Adobe-Helvetica.fnt
Font.176x220x(16|24|32): 12-Adobe-Helvetica.fnt
Font.176x132x(16|24|32): 12-Adobe-Helvetica.fnt

View file

@ -5,10 +5,6 @@
# Disable Status Bar
%wd
#
#
# Preload Fonts
%Fl(3,14-Rockbox-Mix.fnt)
#
# Load Backdrop
%X(wpsbackdrop-240x240x16.bmp)
#
@ -52,7 +48,7 @@
%?mp<%xd(Fa)|%xd(Fb)|%xd(Fc)|%xd(Fd)|%xd(Fe)>
#
# Time Elapsed/Remaining
%V(10,180,220,20,3)
%V(10,180,220,20,-)
%al%pc%ac%?Sr<%pe %Sx(of) %pp|%pp %Sx(of) %pe>%ar%pr
#
# Album Art
@ -61,7 +57,7 @@
%Cd
#
# Track Info - Album Art
%ax%Vl(a,113,40,-,130,3)
%ax%Vl(a,113,30,-,130,-)
%s%al%?id<%id|%?d(1)<%d(1)|%(root%)>>
%s%al%?it<%it|%fn>
%s%al%?ia<%ia|%?iA<%iA|%?d(2)<%d(2)|%(root%)>>>
@ -72,7 +68,7 @@
%s%al%?Ia<%Ia|%?IA<%IA>>
#
# Track Info - No Album Art
%ax%Vl(b,0,30,-,130,3)
%ax%Vl(b,0,30,-,130,-)
%s%ac%?id<%id|%?d(1)<%d(1)|%(root%)>>
%s%ac%?it<%it|%fn>
%s%ac%?ia<%ia|%?iA<%iA|%?d(2)<%d(2)|%(root%)>>>