Skip to content

Commit 932bba4

Browse files
committed
tools/virtual-hub-animator: Update and fix.
Fix port to avoid conflict with Pybricks Code. Also fix image folder not existing.
1 parent 38e6c1f commit 932bba4

File tree

3 files changed

+671
-659
lines changed

3 files changed

+671
-659
lines changed

tools/virtual-hub-animator/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
"web-vitals": "^2.1.0"
1919
},
2020
"scripts": {
21-
"start": "react-scripts start",
21+
"start": "PORT=4000 react-scripts start",
2222
"build": "react-scripts build",
23-
"postinstall": "cp ../../lib/pbio/test/animator/img/* public/img/pbio",
23+
"postinstall": "mkdir -p public/img/pbio && cp ../../lib/pbio/test/animator/img/* public/img/pbio",
2424
"test": "react-scripts test",
2525
"eject": "react-scripts eject"
2626
},
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.png

0 commit comments

Comments
 (0)