Setup addon installation from submodules
This commit is contained in:
parent
379adbb397
commit
432dca80d0
5 changed files with 18 additions and 0 deletions
11
update_addons.py
Normal file
11
update_addons.py
Normal 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,
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue