We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents de49335 + fcd4172 commit 49e616cCopy full SHA for 49e616c
pythonforandroid/bootstraps/common/build/build.py
@@ -299,7 +299,8 @@ def make_package(args):
299
# Add extra environment variable file into tar-able directory:
300
env_vars_tarpath = tempfile.mkdtemp(prefix="p4a-extra-env-")
301
with open(os.path.join(env_vars_tarpath, "p4a_env_vars.txt"), "w") as f:
302
- f.write("P4A_IS_WINDOWED=" + str(args.window) + "\n")
+ if hasattr(args, "window"):
303
+ f.write("P4A_IS_WINDOWED=" + str(args.window) + "\n")
304
if hasattr(args, "orientation"):
305
f.write("P4A_ORIENTATION=" + str(args.orientation) + "\n")
306
f.write("P4A_NUMERIC_VERSION=" + str(args.numeric_version) + "\n")
0 commit comments