Skip to content

Commit

Permalink
switch path of toxes in release /toxes to fix project files
Browse files Browse the repository at this point in the history
  • Loading branch information
torinmb committed Aug 16, 2023
1 parent 50d6bc8 commit 7d875ec
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Binary file modified MediaPipe TouchDesigner.toe
Binary file not shown.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "mediapipe-touchdesigner",
"private": true,
"version": "0.1.2",
"version": "0.1.3",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
5 changes: 3 additions & 2 deletions td_scripts/build/build_for_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ def onCreate():
clear()

releaseFolder = 'release'
toxReleaseFolder = releaseFolder+'/toxes'
toxFolder = 'toxes'
distFolder = '_mpdist'
mpOp = op('/project1/MediaPipe')
Expand All @@ -55,7 +56,7 @@ def onCreate():
except OSError as o:
print(f"Error, {o.strerror}: {releaseFolder}")
print("Copying existing tox files in")
shutil.copytree(toxFolder, releaseFolder)
shutil.copytree(toxFolder, toxReleaseFolder)

print("Unlinking Text DATs")

Expand Down Expand Up @@ -110,7 +111,7 @@ def onCreate():
# Keep the filename, but move the location to our release folder
e = Path(originalToxPath)
existingName = e.name
mpOp.par.externaltox = (str(directory_path.joinpath(releaseFolder, existingName)))
mpOp.par.externaltox = (str(directory_path.joinpath(toxReleaseFolder, existingName)))
if(mpOp.saveExternalTox(recurse=False)):
print("***** Saved tox *****")
purgeVFS(vfsOp)
Expand Down

0 comments on commit 7d875ec

Please sign in to comment.