Setup addon installation from submodules

This commit is contained in:
Marek S. Łukasiewicz 2025-01-31 14:53:09 +01:00
parent 379adbb397
commit 432dca80d0
5 changed files with 18 additions and 0 deletions

11
update_addons.py Normal file
View file

@ -0,0 +1,11 @@
from os import path
from shutil import copytree
# add repository root path
root_path = path.abspath(path.dirname(__file__))
copytree(
path.join(root_path, 'modules', 'godot-xr-tools', 'addons'),
path.join(root_path, 'project', 'addons'),
dirs_exist_ok=True,
)