Compare commits

...

4 Commits

Author SHA1 Message Date
arcase6 b072ee697c
Merge 1a4857cde6 into 36847f6af0 2024-01-30 08:28:30 -07:00
David Snopek 36847f6af0
Merge pull request #1370 from MJacred/patch-1
Update README: fix godot-cpp issue tracker url
2024-01-22 08:57:08 -06:00
MJacred 8a535d0ecc
Update README: fix godot-cpp issue tracker url 2024-01-22 10:50:27 +01:00
Andrew 1a4857cde6 fix import logic for adding files to customs. Current logic throws exeption when trying to append to customs list because Import function has no return. 2023-12-25 11:29:07 -06:00
2 changed files with 6 additions and 4 deletions

View File

@ -58,7 +58,7 @@ first-party `godot-cpp` extension.
Some compatibility breakage is to be expected as GDExtension and `godot-cpp` Some compatibility breakage is to be expected as GDExtension and `godot-cpp`
get more used, documented, and critical issues get resolved. See the get more used, documented, and critical issues get resolved. See the
[Godot issue tracker](https://github.com/godotengine/godot/issues?q=is%3Aissue+is%3Aopen+label%3Atopic%3Agdextension) [Godot issue tracker](https://github.com/godotengine/godot/issues?q=is%3Aissue+is%3Aopen+label%3Atopic%3Agdextension)
and the [godot-cpp issue tracker](https://github.com/godotengine/godot/issues) and the [godot-cpp issue tracker](https://github.com/godotengine/godot-cpp/issues)
for a list of known issues, and be sure to provide feedback on issues and PRs for a list of known issues, and be sure to provide feedback on issues and PRs
which affect your use of this extension. which affect your use of this extension.

View File

@ -20,11 +20,13 @@ except:
env.PrependENVPath("PATH", os.getenv("PATH")) env.PrependENVPath("PATH", os.getenv("PATH"))
# Custom options and profile flags. # Custom options and profile flags.
customs = ["custom.py"]
try: try:
customs += Import("customs") Import("customs")
except: except:
pass customs = []
customs += ["custom.py"]
profile = ARGUMENTS.get("profile", "") profile = ARGUMENTS.get("profile", "")
if profile: if profile:
if os.path.isfile(profile): if os.path.isfile(profile):