Skip to content

Commit

Permalink
Theos build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
L1ghtmann committed Jan 11, 2024
1 parent cd63136 commit b77c682
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/dragon/shscripts/packaging
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b77c682

Please sign in to comment.