Skip to content

Commit af2d540

Browse files
committed
Upload file
1 parent 2a0fc2b commit af2d540

82 files changed

Lines changed: 17 additions & 4 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Version.md

Lines changed: 1 addition & 0 deletions

pio/Kakathic.jks

124 Bytes
Binary file not shown.

pio/src/main/assets/home/etc/start-early.rc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ rm -fr $TMPDIR/* $HOME/cache/* $START_DIR/cache/* $TEMP/documents $TEMP/WebView
77
(
88
if checkonline; then
99
# Tải về nhật ký
10-
echo -e "\nDownload the log and the latest version..."
10+
echo -e "Download the log and the latest version..."
1111
timeout 20 taive 'https://raw.githubusercontent.com/Zenlua/Tool-Tree/refs/heads/main/Version.md' $TEMP/Version.md
1212
text_num_1="$(grep -nm1 Version: $TEMP/Version.md | tail -1 | cut -d: -f1)"
1313
text_num_2="$(grep -nm4 Version: $TEMP/Version.md | tail -1 | cut -d: -f1)"
@@ -24,11 +24,12 @@ if checkonline; then
2424
[ -f $TEMP/update ] && rm -f $TEMP/update
2525
fi
2626
fi
27-
) &>>$TEMP/Install.log &
27+
) &
2828

2929
(
3030
# Cấp quyền tự động nếu đã root
3131
if [ "$ROT" == 1 ];then
32+
chown -R 0:0 $HOME/.cache
3233
# Tạo link home
3334
[ -e /data/local/Tool-Tree ] || ln -sf $HOME /data/local/Tool-Tree
3435
# Thêm không giới hạn tiết kiệm pin
@@ -58,4 +59,4 @@ for vadd in $AON/*/early_start.sh $AOK/*/early_start.sh; do
5859
) &
5960
fi
6061
done
61-
) &>>$TEMP/Install.log &
62+
) &
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Launch after data installation is complete.
2+
3+
if [ -d "$AON" ] || [ "$AOK" ];then
4+
chmod 777 $AON/*/* $AOK/*/*
5+
for vadd in $AON/*/firstly_start.sh $AOK/*/firstly_start.sh; do
6+
if [ -f "$vadd" ];then
7+
echo "firstly shell: $vadd"
8+
$vadd
9+
fi
10+
done
11+
fi

pio/src/main/assets/home/etc/tool-tree.rc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ esac
287287
</group>'
288288

289289
[ "$(glog shellc)" == 1 ] && xml_print '<group>
290-
<action icon="'`urlpng shellc`'" title="'$home_text_5'" desc="'$more_text_9'">
290+
<action icon="'`urlpng shell`'" title="'$home_text_5'" desc="'$more_text_9'">
291291
<param name="shells" value-sh="glog shells" type="text" placeholder="#!/system/bin/sh"/>
292292
<param name="shells2" value-sh="glog shells2" type="text" placeholder="#!/system/bin/sh"/>
293293
<param name="shells3" value-sh="glog shells3" type="text" placeholder="#!/system/bin/sh"/>
-10.9 KB
Binary file not shown.
43 KB
8.52 KB
12.2 KB
11.5 KB

0 commit comments

Comments
 (0)