This repository was archived by the owner on Sep 7, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +15
-14
lines changed
Expand file tree Collapse file tree 6 files changed +15
-14
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,9 @@ OPTIONS
4949 Show this message
5050 u, --Update
5151 Update this script or AltServer
52-
52+
53+ For more information: https://github.com/powenn/AltServer-Linux-ShellScript
54+
5355EOF
5456
5557# Print AltServer icon
Original file line number Diff line number Diff line change @@ -49,7 +49,9 @@ OPTIONS
4949 Show this message
5050 u, --Update
5151 Update this script or AltServer
52-
52+
53+ For more information: https://github.com/powenn/AltServer-Linux-ShellScript
54+
5355EOF
5456
5557# Print AltServer icon
Original file line number Diff line number Diff line change @@ -52,7 +52,9 @@ OPTIONS
5252 Show this message
5353 u, --Update
5454 Update this script or AltServer
55-
55+
56+ For more information: https://github.com/powenn/AltServer-Linux-ShellScript
57+
5658EOF
5759
5860# Print AltServer icon
Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ HasExistAccount=$(cat saved.txt)
55HasExistipa=$( ls ipa)
66UDID=$( lsusb -v 2> /dev/null | grep -e " Apple Inc" -A 2 | grep iSerial | awk ' {print $3}' )
77
8- cd " $( dirname " $0 " ) "
98# Check if there exists saved account
109# Ask if want to use saved account
1110AskAccount () {
@@ -19,8 +18,8 @@ AskAccount() {
1918 nl saved.txt
2019 echo " please enter the number "
2120 read number
22- ExistID =$( sed -n " $number " p saved.txt | cut -d , -f 1)
23- ExistPasswd =$( sed -n " $number " p saved.txt | cut -d , -f 2)
21+ AppleID =$( sed -n " $number " p saved.txt | cut -d , -f 1)
22+ password =$( sed -n " $number " p saved.txt | cut -d , -f 2)
2423 ;;
2524 [nN][oO]|[nN] )
2625 UseExistAccount=0
@@ -41,12 +40,7 @@ AskAccount() {
4140# Execute AltServer
4241# Check if this account existed before
4342AltServer () {
44- if [[ $UseExistAccount = 1 ]]; then
45- ./AltServer -u ${UDID} -a $ExistID -p $ExistPasswd $PATH
46- fi
47- if [[ $UseExistAccount = 0 ]]; then
48- ./AltServer -u ${UDID} -a $AppleID -p $password $PATH
49- fi
43+ ./AltServer -u ${UDID} -a $AppleID -p $password $PATH
5044 if [[ " $CheckAccount " == " " ]] ; then
5145 AccountSaving=1
5246 fi
Original file line number Diff line number Diff line change @@ -49,7 +49,9 @@ OPTIONS
4949 Show this message
5050 u, --Update
5151 Update this script or AltServer
52-
52+
53+ For more information: https://github.com/powenn/AltServer-Linux-ShellScript
54+
5355EOF
5456
5557# Print AltServer icon
Original file line number Diff line number Diff line change 11#! /bin/bash
22# Author of the script : powen
33
4- cd " $( dirname " $0 " ) "
54LocalVersion=$( sed -n 1p version)
65LatestVersion=$( curl -Lsk ' https://github.com/powenn/AltServer-Linux-ShellScript/raw/main/version' )
76Arch=$( sed -n 2p version)
You can’t perform that action at this time.
0 commit comments