Skip to content

armgit / godot

Public Imported from GitHub
0

Godot Engine – Multi-platform 2D and 3D game engine

Improve warning message for ANGLE on macOS

Aaron Franke8c3fd253df8c
diff --git a/platform/linuxbsd/detect.py b/platform/linuxbsd/detect.py
index 97539f232e5..c53750b0cc0 100644
--- a/platform/linuxbsd/detect.py
+++ b/platform/linuxbsd/detect.py
@@ -529,9 +529,9 @@ def configure(env: "SConsEnvironment"):
print_warning(
"The screen reader support driver requires dependencies to be installed.\n"
f"You can install them by running `python {os.path.join('misc', 'scripts', 'install_accesskit.py')}`.\n"
- "See the documentation for more information:\n"
- "\thttps://docs.godotengine.org/en/latest/engine_details/development/compiling/compiling_for_linuxbsd.html\n"
- "Alternatively, disable this driver by compiling with `accesskit=no` explicitly."
+ "See the documentation for more information:\n\t"
+ "https://docs.godotengine.org/en/latest/engine_details/development/compiling/compiling_for_linuxbsd.html#compiling-with-accesskit-support"
+ "\nAlternatively, disable this driver by compiling with `accesskit=no` explicitly."
)
env["accesskit"] = False
diff --git a/platform/macos/detect.py b/platform/macos/detect.py
index 90f8a17fe71..6c71fcadfbd 100644
--- a/platform/macos/detect.py
+++ b/platform/macos/detect.py
@@ -246,9 +246,9 @@ def configure(env: "SConsEnvironment"):
print_warning(
"The screen reader support driver requires dependencies to be installed.\n"
f"You can install them by running `python3 {os.path.join('misc', 'scripts', 'install_accesskit.py')}`.\n"
- "See the documentation for more information:\n"
- "\thttps://docs.godotengine.org/en/latest/engine_details/development/compiling/compiling_for_macos.html\n"
- "Alternatively, disable this driver by compiling with `accesskit=no` explicitly."
+ "See the documentation for more information:\n\t"
+ "https://docs.godotengine.org/en/latest/engine_details/development/compiling/compiling_for_macos.html#compiling-with-accesskit-support"
+ "\nAlternatively, disable this driver by compiling with `accesskit=no` explicitly."
)
env["accesskit"] = False
@@ -318,10 +318,10 @@ def configure(env: "SConsEnvironment"):
else:
print_warning(
"The ANGLE rendering driver requires dependencies to be installed.\n"
- f"You can install them by running `python {os.path.join('misc', 'scripts', 'install_angle.py')}`.\n"
- "See the documentation for more information:\n"
- "\thttps://docs.godotengine.org/en/latest/engine_details/development/compiling/compiling_for_windows.html\n"
- "Alternatively, disable this driver by compiling with `angle=no` explicitly."
+ f"You can install them by running `python3 {os.path.join('misc', 'scripts', 'install_angle.py')}`.\n"
+ "See the documentation for more information:\n\t"
+ "https://docs.godotengine.org/en/latest/engine_details/development/compiling/compiling_for_macos.html#compiling-with-angle-support"
+ "\nAlternatively, disable this driver by compiling with `angle=no` explicitly."
)
env["angle"] = False
diff --git a/platform/windows/detect.py b/platform/windows/detect.py
index 95898615470..cd6aa1a43cc 100644
--- a/platform/windows/detect.py
+++ b/platform/windows/detect.py
@@ -472,9 +472,9 @@ def configure_msvc(env: "SConsEnvironment"):
print_error(
"The screen reader support driver requires dependencies to be installed.\n"
f"You can install them by running `python {os.path.join('misc', 'scripts', 'install_accesskit.py')}`.\n"
- "See the documentation for more information:\n"
- "\thttps://docs.godotengine.org/en/latest/engine_details/development/compiling/compiling_for_windows.html\n"
- "Alternatively, disable this driver by compiling with `accesskit=no` explicitly."
+ "See the documentation for more information:\n\t"
+ "https://docs.godotengine.org/en/latest/engine_details/development/compiling/compiling_for_windows.html#compiling-with-accesskit-support"
+ "\nAlternatively, disable this driver by compiling with `accesskit=no` explicitly."
)
env["accesskit"] = False
@@ -529,9 +529,9 @@ def configure_msvc(env: "SConsEnvironment"):
print_warning(
"The ANGLE rendering driver requires dependencies to be installed.\n"
f"You can install them by running `python {os.path.join('misc', 'scripts', 'install_angle.py')}`.\n"
- "See the documentation for more information:\n"
- "\thttps://docs.godotengine.org/en/latest/engine_details/development/compiling/compiling_for_windows.html\n"
- "Alternatively, disable this driver by compiling with `angle=no` explicitly."
+ "See the documentation for more information:\n\t"
+ "https://docs.godotengine.org/en/latest/engine_details/development/compiling/compiling_for_windows.html#compiling-with-angle-support"
+ "\nAlternatively, disable this driver by compiling with `angle=no` explicitly."
)
env["angle"] = False
@@ -876,9 +876,9 @@ def configure_mingw(env: "SConsEnvironment"):
print_warning(
"The screen reader support driver requires dependencies to be installed.\n"
f"You can install them by running `python {os.path.join('misc', 'scripts', 'install_accesskit.py')}`.\n"
- "See the documentation for more information:\n"
- "\thttps://docs.godotengine.org/en/latest/engine_details/development/compiling/compiling_for_windows.html\n"
- "Alternatively, disable this driver by compiling with `accesskit=no` explicitly."
+ "See the documentation for more information:\n\t"
+ "https://docs.godotengine.org/en/latest/engine_details/development/compiling/compiling_for_windows.html#compiling-with-accesskit-support"
+ "\nAlternatively, disable this driver by compiling with `accesskit=no` explicitly."
)
env["accesskit"] = False
@@ -943,9 +943,9 @@ def configure_mingw(env: "SConsEnvironment"):
print_warning(
"The ANGLE rendering driver requires dependencies to be installed.\n"
f"You can install them by running `python {os.path.join('misc', 'scripts', 'install_angle.py')}`.\n"
- "See the documentation for more information:\n"
- "\thttps://docs.godotengine.org/en/latest/engine_details/development/compiling/compiling_for_windows.html\n"
- "Alternatively, disable this driver by compiling with `angle=no` explicitly."
+ "See the documentation for more information:\n\t"
+ "https://docs.godotengine.org/en/latest/engine_details/development/compiling/compiling_for_windows.html#compiling-with-angle-support"
+ "\nAlternatively, disable this driver by compiling with `angle=no` explicitly."
)
env["angle"] = False
@@ -975,8 +975,8 @@ def check_d3d12_installed(env, suffix):
print_error(
"The Direct3D 12 rendering driver requires dependencies to be installed.\n"
f"You can install them by running `python {os.path.join('misc', 'scripts', 'install_d3d12_sdk_windows.py')}`.\n"
- "See the documentation for more information:\n"
- "\thttps://docs.godotengine.org/en/latest/engine_details/development/compiling/compiling_for_windows.html\n"
- "Alternatively, disable this driver by compiling with `d3d12=no` explicitly."
+ "See the documentation for more information:\n\t"
+ "https://docs.godotengine.org/en/latest/engine_details/development/compiling/compiling_for_windows.html#installing-direct3d-12-requirements"
+ "\nAlternatively, disable this driver by compiling with `d3d12=no` explicitly."
)
sys.exit(255)