Modify build script to include SIDELOAD option (#611) (#687)

This commit is contained in:
Justin Mok 2026-01-17 10:54:02 +00:00 committed by GitHub
parent 9c9b15f64e
commit 1a6223d5cc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -174,7 +174,7 @@ jobs:
sed -i '' "s/^export TARGET.*$/export TARGET = iphone:clang:${{ inputs.sdk_version }}:14.0/" Makefile
sed -i '' "s/^export SDK_PATH.*$/export SDK_PATH = \$(THEOS)\/sdks\/iPhoneOS${{ inputs.sdk_version }}.sdk\//" Makefile
# Build the package
make package THEOS_PACKAGE_SCHEME=rootless FINALPACKAGE=1
make package SIDELOAD=1 THEOS_PACKAGE_SCHEME=rootless FINALPACKAGE=1
# Rename the package based on the version
(mv "packages/$(ls -t packages | head -n1)" "packages/YTLitePlus_${{ env.YT_VERSION }}_5.0.1.ipa")
# Pass package name to the upload step