mirror of
https://github.com/NohamR/RMHook-iOS.git
synced 2026-05-24 19:59:51 +00:00
Add multiple Qt/iOS version support and hooks
This commit is contained in:
@@ -3,16 +3,28 @@
|
||||
# Default to 3.25.0 if no argument is provided
|
||||
VERSION=${1:-3.25.0}
|
||||
|
||||
if [ "$VERSION" == "3.25.0" ]; then
|
||||
if [ "$VERSION" == "3.17.0" ]; then
|
||||
MACRO="-DV3_17_0=1"
|
||||
QT_VERSION="6.5.3"
|
||||
TARGET="iphone:latest:14.0"
|
||||
elif [ "$VERSION" == "3.25.0" ]; then
|
||||
MACRO="-DV3_25_0=1"
|
||||
QT_VERSION="6.8.2"
|
||||
TARGET="iphone:latest:16.0"
|
||||
elif [ "$VERSION" == "3.26.0" ]; then
|
||||
MACRO="-DV3_26_0=1"
|
||||
QT_VERSION="6.8.2"
|
||||
TARGET="iphone:latest:17.0"
|
||||
elif [ "$VERSION" == "3.27.0" ]; then
|
||||
MACRO="-DV3_27_0=1"
|
||||
QT_VERSION="6.10.0"
|
||||
TARGET="iphone:latest:17.0"
|
||||
elif [ "$VERSION" == "3.27.1" ]; then
|
||||
MACRO="-DV3_27_1=1"
|
||||
QT_VERSION="6.10.0"
|
||||
TARGET="iphone:latest:17.0"
|
||||
else
|
||||
echo "Error: Unknown version '$VERSION'. Supported versions are: 3.25.0, 3.27.1"
|
||||
echo "Error: Unknown version '$VERSION'. Supported versions are: 3.25.0, 3.17.0, 3.27.1"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user