Fix the setup script for osx.

This commit is contained in:
Relintai 2019-12-14 00:03:29 +01:00
parent 9bddc517f9
commit 8a9152c59c
2 changed files with 5 additions and 1 deletions

3
.gitignore vendored
View File

@ -7,6 +7,7 @@ modules
*.meta *.meta
game/.import/** game/.import/**
.sconsign.dblite .sconsign.dblite
.DS_Store
.vs/* .vs/*
.kdev4/* .kdev4/*
@ -20,4 +21,4 @@ game/android/build/*
#ignore everything in the Engine Directory #ignore everything in the Engine Directory
engine/* engine/*
*.blend1 *.blend1

View File

@ -114,6 +114,9 @@ def copytree(src, dst):
shutil.copytree(sp, dp) shutil.copytree(sp, dp)
else: else:
if not os.path.isdir(dst):
os.makedirs(dst)
shutil.copy2(sp, dp) shutil.copy2(sp, dp)
def update_engine(): def update_engine():