Add .py file extension to Python

This commit is contained in:
Margen67
2025-07-28 23:54:52 -07:00
parent 03c0e70f8b
commit 4a5f63650d
14 changed files with 31 additions and 31 deletions

View File

@@ -33,14 +33,14 @@ def setup_premake_path_override():
# its repository.
# On Termux, the home directory is in the internal storage - use it for
# executing.
# If xenia-build doesn't have execute permissions, Xenia is in the external
# If xenia-build.py doesn't have execute permissions, Xenia is in the external
# storage now.
try:
popen = subprocess.Popen(
['uname', '-o'], stdout=subprocess.PIPE, stderr=subprocess.DEVNULL,
universal_newlines=True)
if popen.communicate()[0] == 'Android\n':
xb_file = os.path.join(root_path, 'xenia-build')
xb_file = os.path.join(root_path, 'xenia-build.py')
if (os.path.isfile(xb_file) and not os.access(xb_file, os.X_OK) and
'HOME' in os.environ):
premake_path = os.path.join(