2
0
mirror of https://gitlab.com/Nanolx/NanoDroid synced 2024-10-31 09:20:23 +00:00

improve previous commits

This commit is contained in:
Christopher Roy Bratusek 2018-03-17 14:28:47 +01:00
parent 6e3b9f39da
commit c5dad0d9f0
4 changed files with 12 additions and 3 deletions

View File

@ -719,14 +719,20 @@ install_nanodroidscripts () {
nanodroid_install_file bin/${script} bin nanodroid_install_file bin/${script} bin
done 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_install_file bin/nanodroid-font bin
nanodroid_substitute bin/nanodroid-font nanodroid_substitute bin/nanodroid-font
nanodroid_install_file bin/nfnt bin nanodroid_install_file bin/nfnt bin
nanodroid_install_dir fonts
fi fi
nanodroid_substitute bin/nanodroid-overlay
nanodroid_substitute bin/nanodroid-prop
} }
install_nano () { install_nano () {
@ -1078,6 +1084,7 @@ check_cfg_setup () {
[ -z ${nanodroid_bash} ] && set_prop nanodroid_bash 1 [ -z ${nanodroid_bash} ] && set_prop nanodroid_bash 1
[ -z ${nanodroid_nano} ] && set_prop nanodroid_nano 1 [ -z ${nanodroid_nano} ] && set_prop nanodroid_nano 1
[ -z ${nanodroid_utils} ] && set_prop nanodroid_utils 1 [ -z ${nanodroid_utils} ] && set_prop nanodroid_utils 1
[ -z ${nanodroid_fonts} ] && set_prop nanodroid_fonts 1
source ${cfg_setup} source ${cfg_setup}
} }

View File

@ -46,6 +46,7 @@ install_bash
install_nano install_nano
install_nanodroidscripts install_nanodroidscripts
install_shell_utils install_shell_utils
install_fonts
nanodroid_finalize nanodroid_finalize

View File

@ -14,3 +14,4 @@ nanodroid_nlpbackend=1
nanodroid_nano=1 nanodroid_nano=1
nanodroid_bash=1 nanodroid_bash=1
nanodroid_utils=1 nanodroid_utils=1
nanodroid_fonts=1