Merge pull request #63284 from bruvzg/macos_ios_alias

This commit is contained in:
Rémi Verschelde 2022-07-21 15:21:19 +02:00 committed by GitHub
commit b33d3d6974
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -232,6 +232,16 @@ else:
if selected_platform != "":
print("Automatically detected platform: " + selected_platform)
if selected_platform == "macos":
# Alias for forward compatibility.
print('Platform "macos" is still called "osx" in Godot 3.x. Building for platform "osx".')
selected_platform = "osx"
if selected_platform == "ios":
# Alias for forward compatibility.
print('Platform "ios" is still called "iphone" in Godot 3.x. Building for platform "iphone".')
selected_platform = "iphone"
if selected_platform in ["linux", "bsd", "linuxbsd"]:
if selected_platform == "linuxbsd":
# Alias for forward compatibility.