Skip to content

Commit 9438341

Browse files
committed
Update
1 parent cd6dde7 commit 9438341

3 files changed

Lines changed: 13 additions & 3 deletions

File tree

.github/addon/hack_wifi/install.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ MPAT="${0%/*}"
44
# dọn dẹp
55
chmod -R 755 $MPAT/home
66

7-
if [ -d "$HOME/home" ]; then
7+
if [ -d "$MPAT/home" ]; then
88
cp -rf $MPAT/home/* $HOME
99
rm -fr $MPAT/home
1010
fi

.github/addon/hack_wifi/install.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Kakathic
2+
MPAT="${0%/*}"
3+
4+
# dọn dẹp
5+
chmod -R 755 $MPAT/home
6+
7+
if [ -d "$MPAT/home" ]; then
8+
cp -rf $MPAT/home/* $HOME
9+
rm -fr $MPAT/home
10+
fi

app/src/main/assets/home/bin/installadd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,10 @@ echo 0 > "$2/$loadid/status"
6363
set_permis -R "$2/$loadid"
6464

6565
if [ -f "$2/$loadid/install.sh" ]; then
66-
"$2/$loadid/install.sh"
66+
bash "$2/$loadid/install.sh"
6767
rm -fr "$2/$loadid/install.sh"
6868
elif [ -f "$2/$loadid/install.bash" ]; then
69-
"$2/$loadid/install.bash"
69+
bash "$2/$loadid/install.bash"
7070
rm -fr "$2/$loadid/install.bash"
7171
fi
7272

0 commit comments

Comments
 (0)