Setup zylann.hterrain addon

This commit is contained in:
Marek S. Łukasiewicz 2025-02-21 13:55:02 +01:00
parent 4d1ca58952
commit 141dbf42c0
12 changed files with 22 additions and 5 deletions

View file

@ -5,11 +5,16 @@ from shutil import copytree
root_path = path.abspath(path.dirname(__file__))
# Copy the addon folder from each module
copytree(
path.join(root_path, 'modules', 'gdcef', 'addons'),
path.join(root_path, 'project', 'addons'),
dirs_exist_ok=True,
)
addon_modules = [
'gdcef',
'godot_heightmap_plugin',
]
for addon in addon_modules:
copytree(
path.join(root_path, 'modules', addon, 'addons'),
path.join(root_path, 'project', 'addons'),
dirs_exist_ok=True,
)
# Configure gdcef version for precompiled binaries
gdcef_build = path.join(root_path, 'project', 'addons', 'gdcef', 'build.py')