Skip to content

Commit 293a1b2

Browse files
committed
修改
1 parent b14cbd6 commit 293a1b2

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Termux/install-NH

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ BASE_URL=https://kali.download/nethunter-images/current/rootfs
55
USERNAME=kali
66
# https://gitlab.com/kalilinux/nethunter/build-scripts/kali-nethunter-rootless/raw/main/install-nethunter-termux 原版连链接
77

8+
# sed -i 's/\r$//' install-NH
9+
810
log() {
911
current_time=$(date +'%H:%M:%S')
1012
case "$1" in
@@ -378,6 +380,7 @@ function create_kex_launcher() {
378380
#!/bin/bash
379381
380382
function start-kex() {
383+
export LANG=zh_CN.UTF-8
381384
export FONTCONFIG_PATH=/etc/fonts
382385
export FONTCONFIG_FILE=/etc/fonts/fonts.conf
383386
if [ ! -f ~/.vnc/passwd ]; then
@@ -536,10 +539,10 @@ function print_banner() {
536539
printf "${blue}## ##${reset}\n"
537540
printf "${blue}#### ############# NetHunter ####################${reset}\n"
538541
printf "${blue}#### ############ (网络猎人) ####################${reset}\n"
539-
printf "${blue}脚本优化: 东经雨 6.1${reset}\n"
542+
printf "${blue}脚本优化: 东经雨 6.2${reset}\n"
540543
printf "${yellow}技术支持: ChatGPT, Claude, DeepSeek${reset}\n"
541544
printf "使用则代表同意协议:\n"
542-
printf "作者已经脚本参与者不承担因脚本引发的任何法律问题,均由使用者自行承担\n\n"
545+
printf "本脚本作者不承担因脚本引发的任何法律问题,一切均由使用者自行承担\n\n"
543546
}
544547

545548
function main() {

0 commit comments

Comments
 (0)