Skip to content

Commit

Permalink
Back to copytree for dist -> dest
Browse files Browse the repository at this point in the history
  • Loading branch information
willend committed Aug 16, 2024
1 parent 5a02f87 commit a3fb7e3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tools/Python/mcdisplay/webgl/mcdisplay.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,7 @@ def copy(a, b):
raise RuntimeError(f"The specified destination {dirname} already exists!")

# Copy the app files - i.e. creating dest
if not os.name=='nt':
os.symlink(source.joinpath('dist'), dest)
else:
_winapi.CreateJunction(str(source.joinpath('dist')), str(dest))
copytree(source.joinpath('dist'), dest)

# Copy package.json from source to dest
package_json_source = source.joinpath('package.json')
Expand Down

0 comments on commit a3fb7e3

Please sign in to comment.