mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-11-24 00:49:17 +01:00
Add Gentoo to readme and some updates
This commit is contained in:
parent
6a363aea5e
commit
5b1fea684f
@ -75,6 +75,7 @@
|
|||||||
- [**Fedora**](https://getfedora.org/) 36 and newer
|
- [**Fedora**](https://getfedora.org/) 36 and newer
|
||||||
- [**Debian**](https://www.debian.org/) 11 Bullseye and newer, Sid, and Debian-based distros
|
- [**Debian**](https://www.debian.org/) 11 Bullseye and newer, Sid, and Debian-based distros
|
||||||
- [**openSUSE**](https://www.opensuse.org/) Tumbleweed, Leap 15.4
|
- [**openSUSE**](https://www.opensuse.org/) Tumbleweed, Leap 15.4
|
||||||
|
- [**Gentoo**](https://www.gentoo.org/) and Gentoo-based distros
|
||||||
- **macOS** 10.13 and newer
|
- **macOS** 10.13 and newer
|
||||||
- **Windows** 7 and newer
|
- **Windows** 7 and newer
|
||||||
|
|
||||||
|
@ -179,9 +179,9 @@ InstallDepends() {
|
|||||||
sudo pacman -Sy --noconfirm --needed base-devel bsdiff curl libimobiledevice openssh python udev unzip usbmuxd usbutils vim xmlstarlet zenity
|
sudo pacman -Sy --noconfirm --needed base-devel bsdiff curl libimobiledevice openssh python udev unzip usbmuxd usbutils vim xmlstarlet zenity
|
||||||
|
|
||||||
elif [[ $ID == "gentoo" || $ID_LIKE == "gentoo" || $ID == "pentoo" ]]; then
|
elif [[ $ID == "gentoo" || $ID_LIKE == "gentoo" || $ID == "pentoo" ]]; then
|
||||||
echo "* Gentoo repos do not ship python2, which is needed for ipwndfu"
|
Echo "* Gentoo repos do not ship python2, which is needed for ipwndfu"
|
||||||
echo "* If you need to use ipwndfu, python2 can be installed from the official site"
|
Echo "* If you need to use ipwndfu, python2 can be installed from the official site"
|
||||||
sudo emerge -av bsdiff net-misc/curl libimobiledevice openssh python udev unzip usbmuxd usbutils vim xmlstarlet zenity python zenity
|
sudo emerge -av bsdiff net-misc/curl libimobiledevice openssh python udev unzip usbmuxd usbutils vim xmlstarlet zenity
|
||||||
|
|
||||||
elif [[ -n $UBUNTU_CODENAME && $VERSION_ID == "2"* ]] ||
|
elif [[ -n $UBUNTU_CODENAME && $VERSION_ID == "2"* ]] ||
|
||||||
(( DebianVer >= 11 )) || [[ $DebianVer == "sid" ]]; then
|
(( DebianVer >= 11 )) || [[ $DebianVer == "sid" ]]; then
|
||||||
|
@ -73,11 +73,13 @@ JailbreakOption() {
|
|||||||
IPSWCustom="${ProductType}_${OSVer}_${BuildVer}_${Custom}"
|
IPSWCustom="${ProductType}_${OSVer}_${BuildVer}_${Custom}"
|
||||||
[[ $OSVer == 4.3* ]] && IPSWCustom+="-$UniqueChipID"
|
[[ $OSVer == 4.3* ]] && IPSWCustom+="-$UniqueChipID"
|
||||||
elif [[ $ProductType == "$DisableBBUpdate" ]]; then
|
elif [[ $ProductType == "$DisableBBUpdate" ]]; then
|
||||||
Log "WARNING - Baseband update will be disabled for the custom IPSW."
|
Log "Baseband update will be disabled for the custom IPSW."
|
||||||
Echo "* With baseband update disabled, activation errors may occur."
|
if [[ $ProductType != "iPad2,3" ]]; then
|
||||||
Echo "* Do NOT continue if you do not have other means for activation."
|
Log "WARNING - With baseband update disabled, activation errors might occur."
|
||||||
|
Echo "* If you do not have other means for activation, this is not recommended."
|
||||||
Input "Press Enter/Return to continue anyway (or press Ctrl+C to cancel)"
|
Input "Press Enter/Return to continue anyway (or press Ctrl+C to cancel)"
|
||||||
read -s
|
read -s
|
||||||
|
fi
|
||||||
Baseband=0
|
Baseband=0
|
||||||
IPSWCustom+="B"
|
IPSWCustom+="B"
|
||||||
if [[ $platform != "win" && $Jailbreak != 1 ]]; then
|
if [[ $platform != "win" && $Jailbreak != 1 ]]; then
|
||||||
@ -296,9 +298,6 @@ IPSW4() {
|
|||||||
|
|
||||||
cd tmp
|
cd tmp
|
||||||
if [[ $OSVer == "7.1.2" && ! -e $IPSWCustom.ipsw ]]; then
|
if [[ $OSVer == "7.1.2" && ! -e $IPSWCustom.ipsw ]]; then
|
||||||
if [[ $platform == "win" ]]; then
|
|
||||||
ipsw="${ipsw}3"
|
|
||||||
fi
|
|
||||||
Log "Preparing custom IPSW..."
|
Log "Preparing custom IPSW..."
|
||||||
cp -rf ../resources/firmware/FirmwareBundles .
|
cp -rf ../resources/firmware/FirmwareBundles .
|
||||||
$ipsw ../$IPSW.ipsw ../$IPSWCustom.ipsw $JBMemory -S 50 ${JBFiles[@]}
|
$ipsw ../$IPSW.ipsw ../$IPSWCustom.ipsw $JBMemory -S 50 ${JBFiles[@]}
|
||||||
|
Loading…
Reference in New Issue
Block a user