Skip to content

Commit 78e2c49

Browse files
committed
Update
1 parent ad9b9ab commit 78e2c49

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/android.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ jobs:
5757
echo "Tool-Tree $VER"
5858
echo "VER=$VER" >> $GITHUB_ENV
5959
mkdir -p Up Beta
60-
cp -rf app/build/outputs/apk/*/*.apk "Up/Tool-Tree.$VER.apk"
61-
cp -rf app/build/outputs/apk/*/*.apk "Beta/Tool-Tree-beta.apk"
60+
[ "$UPAPK" == "true" ] && cp -rf app/build/outputs/apk/*/*.apk "Up/Tool-Tree.$VER.apk"
61+
[ "$UPAPK" == "true" ] || cp -rf app/build/outputs/apk/*/*.apk "Beta/Tool-Tree-beta.apk"
6262
ls Up
6363
echo -e "- ![Downloads](https://img.shields.io/github/downloads/Zenlua/Tool-Tree/V$VER/total?label=Downloads&color=%230072F4)\n- See version notes: [Changelog](https://zenlua.github.io/Tool-Tree/Version.html)" > change.txt
6464
if [ "$UPTG" == "true" ]; then

app/src/main/assets/home/etc/start-early.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ rm -fr $TEMP/documents $TEMP/WebView &
1212
if checkonline; then
1313
# Tải về nhật ký
1414
echo -e "Download the log and the latest version..."
15-
timeout 20 taive 'https://raw.githubusercontent.com/Zenlua/Tool-Tree/refs/heads/main/Version.md' $TEMP/Version.md
15+
timeout 20 taive -s 'https://raw.githubusercontent.com/Zenlua/Tool-Tree/refs/heads/main/Version.md' $TEMP/Version.md
1616

1717
if [[ -f $TEMP/Version.md ]] && [[ "$(glog sum_ver_boot)" != "$(checksum $TEMP/Version.md)" ]]; then
1818
sed -e 's|\*\*||g' -e 's|+|•|g' $TEMP/Version.md | awk 'BEGIN{RS="Version:"} NR>=2 && NR<=7 {printf "Version:%s", $0}' | trans -b "$LANGUAGE-$COUNTRY" > $TEMP/version.txt

0 commit comments

Comments
 (0)