Support for SDK_PATH (buildapp.yml)

This commit is contained in:
aricloverGitHub (INACTIVE) 2024-12-04 15:02:11 -06:00 committed by GitHub
parent a3e0f9b6e4
commit a0f499eb1f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -172,6 +172,7 @@ jobs:
sed -i '' "s/^DISPLAY_NAME.*$/DISPLAY_NAME = ${{ env.APP_NAME }}/" Makefile
sed -i '' "s/^PACKAGE_VERSION.*$/PACKAGE_VERSION = ${{ env.YT_VERSION }}-${{ env.YTLITE_VERSION }}/" Makefile
sed -i '' "s/^export TARGET.*$/export TARGET = iphone:clang:${{ inputs.sdk_version }}:14.0/" Makefile
sed -i '' "s|^SDK_PATH.*$|SDK_PATH = ${{ THEOS }}/sdks/iPhoneOS${{ inputs.sdk_version }}.sdk/|" Makefile
# Build the package
make package
# Rename the package based on the version