mirror of
https://github.com/SoPat712/YTLitePlus.git
synced 2025-08-21 10:18:46 -04:00
patch SDK_PATH in Makefile when using non-default sdk version (#569)
This commit is contained in:
1
.github/workflows/buildapp.yml
vendored
1
.github/workflows/buildapp.yml
vendored
@@ -172,6 +172,7 @@ jobs:
|
|||||||
sed -i '' "s/^DISPLAY_NAME.*$/DISPLAY_NAME = ${{ env.APP_NAME }}/" Makefile
|
sed -i '' "s/^DISPLAY_NAME.*$/DISPLAY_NAME = ${{ env.APP_NAME }}/" Makefile
|
||||||
sed -i '' "s/^PACKAGE_VERSION.*$/PACKAGE_VERSION = ${{ env.YT_VERSION }}-5.0.1/" Makefile
|
sed -i '' "s/^PACKAGE_VERSION.*$/PACKAGE_VERSION = ${{ env.YT_VERSION }}-5.0.1/" Makefile
|
||||||
sed -i '' "s/^export TARGET.*$/export TARGET = iphone:clang:${{ inputs.sdk_version }}:14.0/" Makefile
|
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
|
# Build the package
|
||||||
make package THEOS_PACKAGE_SCHEME=rootless FINALPACKAGE=1
|
make package THEOS_PACKAGE_SCHEME=rootless FINALPACKAGE=1
|
||||||
# Rename the package based on the version
|
# Rename the package based on the version
|
||||||
|
Reference in New Issue
Block a user