mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-11-24 00:49:17 +01:00
For partialzip
This commit is contained in:
parent
a0d3b7faa6
commit
e3be2d4447
@ -37,6 +37,7 @@ function Main {
|
|||||||
Echo " Downgrader script by LukeZGD "
|
Echo " Downgrader script by LukeZGD "
|
||||||
echo
|
echo
|
||||||
|
|
||||||
|
partialzip="resources/tools/partialzip_$platform"
|
||||||
if [[ $OSTYPE == "linux-gnu" ]]; then
|
if [[ $OSTYPE == "linux-gnu" ]]; then
|
||||||
. /etc/os-release 2>/dev/null
|
. /etc/os-release 2>/dev/null
|
||||||
platform="linux"
|
platform="linux"
|
||||||
@ -80,7 +81,6 @@ function Main {
|
|||||||
futurerestore2="resources/tools/futurerestore2_$platform"
|
futurerestore2="resources/tools/futurerestore2_$platform"
|
||||||
tsschecker="resources/tools/tsschecker_$platform"
|
tsschecker="resources/tools/tsschecker_$platform"
|
||||||
fi
|
fi
|
||||||
partialzip="resources/tools/partialzip_$platform"
|
|
||||||
|
|
||||||
[[ ! -d resources ]] && Error "resources folder cannot be found. Replace resources folder and try again" "If resources folder is present try removing spaces from path/folder name"
|
[[ ! -d resources ]] && Error "resources folder cannot be found. Replace resources folder and try again" "If resources folder is present try removing spaces from path/folder name"
|
||||||
[[ ! $platform ]] && Error "Platform unknown/not supported."
|
[[ ! $platform ]] && Error "Platform unknown/not supported."
|
||||||
|
Loading…
Reference in New Issue
Block a user