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