Skip to content
This repository was archived by the owner on Sep 7, 2023. It is now read-only.

Commit 88704c2

Browse files
committed
Update run.sh
1 parent 283292f commit 88704c2

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

run.sh

100755100644
Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ OPTIONS
3838
Install AltStore to your device
3939
2, --Install ipa
4040
Install ipa in Folder 'ipa',make sure you have put ipa files in the Folder before run this
41-
d, --Daemon mode
42-
Switch to Daemon mode to refresh apps or AltStore
41+
d, --Restart Daemon mode
42+
Restart Daemon mode to refresh apps or AltStore
4343
e, --exit
4444
Exit script
4545
h, --help
@@ -151,7 +151,8 @@ AltServerIcon
151151
cat help.txt
152152
echo "Please connect to your device and press Enter to continue"
153153
read key
154-
idevicepair pair
154+
idevicepair pair > /dev/null
155+
./AltServer &> /dev/null &
155156

156157
RunScript=0
157158
while [ $RunScript = 0 ] ; do
@@ -160,7 +161,7 @@ while [ $RunScript = 0 ] ; do
160161
case "$option" in
161162

162163
1|--Install-ipa )
163-
164+
killall AltServer
164165
for job in `jobs -p`
165166
do
166167
wait $job
@@ -177,7 +178,7 @@ while [ $RunScript = 0 ] ; do
177178
;;
178179

179180
2|--Install-ipa )
180-
181+
killall AltServer
181182
for job in `jobs -p`
182183
do
183184
wait $job
@@ -194,14 +195,15 @@ while [ $RunScript = 0 ] ; do
194195
AltServer
195196
;;
196197

197-
d|--Daemon-mode )
198+
d|--Restart-Daemon-mode )
199+
killall AltServer
198200
for job in `jobs -p`
199201
do
200202
wait $job
201203
done
202204

203205
idevicepair pair
204-
./AltServer
206+
./AltServer &> /dev/null &
205207
;;
206208
e|--exit )
207209
exit

0 commit comments

Comments
 (0)