enhance transhell logic

This commit is contained in:
CongTianKong
2023-08-01 21:53:27 +08:00
parent bb4347cfc6
commit c06c29d22b

View File

@@ -5,8 +5,12 @@ then
source /opt/durapps/transhell/transhell.sh source /opt/durapps/transhell/transhell.sh
load_transhell load_transhell
else else
source /usr/share/ablrun/transhell/ablrun_en_US.transhell if [ -f "/usr/share/ablrun/transhell/ablrun_${LANG%.*}.transhell" ]
source /usr/share/ablrun/transhell/ablrun_$(echo ${LANG%.*}).transhell then
source "/usr/share/ablrun/transhell/ablrun_${LANG%.*}.transhell"
else
source /usr/share/ablrun/transhell/ablrun_en_US.transhell
fi
fi fi
if [ "$*" = "" ] if [ "$*" = "" ]