Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

prep_env.sh: force landscape orientation in the AndroidManifest.xml

  • Loading branch information...
commit ca4acd41c9c67c516a220c3dacb4e3d99a4f821d 1 parent 9296386
@peschwa peschwa authored lynxlynxlynx committed
Showing with 2 additions and 1 deletion.
  1. +2 −1  android/prep_env.sh
View
3  android/prep_env.sh
@@ -158,7 +158,8 @@ function move_and_edit_projectfiles {
# change activity class and application name, as well as enable debuggable
sed -i -e s,org.libsdl.app,net.sourceforge.gemrb, "$ENVROOT/build/gemrb/AndroidManifest.xml" &&
- sed -i -e s,org.libsdl.app,net.sourceforge.gemrb, "$ENVROOT/build/gemrb/AndroidManifest.xml" &&
+ sed -i -e s,SDLActivity,GemRB, "$ENVROOT/build/gemrb/AndroidManifest.xml" &&
+ sed -i -e '/GemRB.*/ a android:screenOrientation="landscape" android:configChanges="orientation"' "$ENVROOT/build/gemrb/AndroidManifest.xml" &&
sed -i -e s,android:versionName=.*,android:versionName=$GEMRB_VERSION, "$ENVROOT/build/gemrb/AndroidManifest.xml" &&
sed -i -e '21 a\
android:debuggable="true"' "$ENVROOT/build/gemrb/AndroidManifest.xml" &&
Please sign in to comment.
Something went wrong with that request. Please try again.