Merge pull request #912 from zworkb/service_only
disable orientation and window option for service_only bootstrap
This commit is contained in:
commit
5ede887a4e
1 changed files with 10 additions and 9 deletions
|
@ -981,6 +981,7 @@ class TargetAndroid(Target):
|
||||||
build_cmd += [("--ouya-icon", join(self.buildozer.root_dir,
|
build_cmd += [("--ouya-icon", join(self.buildozer.root_dir,
|
||||||
ouya_icon))]
|
ouya_icon))]
|
||||||
|
|
||||||
|
if config.getdefault('app','p4a.bootstrap','sdl2') != 'service_only':
|
||||||
# add orientation
|
# add orientation
|
||||||
orientation = config.getdefault('app', 'orientation', 'landscape')
|
orientation = config.getdefault('app', 'orientation', 'landscape')
|
||||||
if orientation == 'all':
|
if orientation == 'all':
|
||||||
|
|
Loading…
Add table
Reference in a new issue