From b77c6821e560cd80a45cf777fda0c2528bccd37d Mon Sep 17 00:00:00 2001 From: Lightmann Date: Thu, 11 Jan 2024 14:12:04 -0500 Subject: [PATCH] Theos build fix --- src/dragon/shscripts/packaging | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/dragon/shscripts/packaging b/src/dragon/shscripts/packaging index da639c45f..60cac27f9 100644 --- a/src/dragon/shscripts/packaging +++ b/src/dragon/shscripts/packaging @@ -64,6 +64,11 @@ create_package() mv $DRAGON_DIR/_/.dragonbuilding $DRAGON_DIR/_/DEBIAN if [[ -f control ]]; then echo -e "$(cat control)" > $DRAGON_DIR/_/DEBIAN/control 2>/dev/null + # TODO: remove this ASAP when DragonMake is generated by default for Theos projs + # right now, there is no way to modify the control values w/o file modification + if [[ $rootless == 1 ]]; then + sed -i'' 's/Architecture: .*/Architecture: iphoneos-arm64/g' $DRAGON_DIR/_/DEBIAN/control + fi else python3 -m dragongen.control DragonMake ./$DRAGON_DIR/_/DEBIAN/control fi