mirror of
https://gitlab.com/Nanolx/NanoDroid
synced 2024-10-31 09:20:23 +00:00
improve previous commits
This commit is contained in:
parent
6e3b9f39da
commit
c5dad0d9f0
@ -719,14 +719,20 @@ install_nanodroidscripts () {
|
||||
nanodroid_install_file bin/${script} bin
|
||||
done
|
||||
|
||||
if [ "${MODID}" = "NanoDroid" ]; then
|
||||
nanodroid_substitute bin/nanodroid-overlay
|
||||
nanodroid_substitute bin/nanodroid-prop
|
||||
}
|
||||
|
||||
install_fonts () {
|
||||
if [ "${nanodroid_fonts}" -eq 1 ]; then
|
||||
ui_print " << Nintendo Fonts"
|
||||
nanodroid_install_file bin/nanodroid-font bin
|
||||
nanodroid_substitute bin/nanodroid-font
|
||||
nanodroid_install_file bin/nfnt bin
|
||||
|
||||
nanodroid_install_dir fonts
|
||||
fi
|
||||
|
||||
nanodroid_substitute bin/nanodroid-overlay
|
||||
nanodroid_substitute bin/nanodroid-prop
|
||||
}
|
||||
|
||||
install_nano () {
|
||||
@ -1078,6 +1084,7 @@ check_cfg_setup () {
|
||||
[ -z ${nanodroid_bash} ] && set_prop nanodroid_bash 1
|
||||
[ -z ${nanodroid_nano} ] && set_prop nanodroid_nano 1
|
||||
[ -z ${nanodroid_utils} ] && set_prop nanodroid_utils 1
|
||||
[ -z ${nanodroid_fonts} ] && set_prop nanodroid_fonts 1
|
||||
|
||||
source ${cfg_setup}
|
||||
}
|
||||
|
@ -46,6 +46,7 @@ install_bash
|
||||
install_nano
|
||||
install_nanodroidscripts
|
||||
install_shell_utils
|
||||
install_fonts
|
||||
|
||||
nanodroid_finalize
|
||||
|
||||
|
@ -14,3 +14,4 @@ nanodroid_nlpbackend=1
|
||||
nanodroid_nano=1
|
||||
nanodroid_bash=1
|
||||
nanodroid_utils=1
|
||||
nanodroid_fonts=1
|
||||
|
Loading…
Reference in New Issue
Block a user