mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-12-24 23:31:48 +01:00
Do chmod +x on bins
fixes issues with permissions
This commit is contained in:
parent
3ea02d7698
commit
7c36321446
@ -182,6 +182,7 @@ set_tool_paths() {
|
|||||||
idevicererestore="sudo "
|
idevicererestore="sudo "
|
||||||
ipwnder="sudo "
|
ipwnder="sudo "
|
||||||
irecovery="sudo "
|
irecovery="sudo "
|
||||||
|
sudo chmod +x $dir/*
|
||||||
fi
|
fi
|
||||||
|
|
||||||
elif [[ $OSTYPE == "darwin"* ]]; then
|
elif [[ $OSTYPE == "darwin"* ]]; then
|
||||||
@ -235,6 +236,9 @@ set_tool_paths() {
|
|||||||
fi
|
fi
|
||||||
log "Running on platform: $platform ($platform_ver)"
|
log "Running on platform: $platform ($platform_ver)"
|
||||||
rm ../resources/sudoloop 2>/dev/null
|
rm ../resources/sudoloop 2>/dev/null
|
||||||
|
if [[ $device_sudoloop != 1 || $platform != "linux" ]]; then
|
||||||
|
chmod +x $dir/*
|
||||||
|
fi
|
||||||
|
|
||||||
# common
|
# common
|
||||||
if [[ $platform != "macos" ]]; then
|
if [[ $platform != "macos" ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user