Skip to content

Commit

Permalink
scratch-guiおよびml5.jsのバージョンを指定してビルドする。
Browse files Browse the repository at this point in the history
  • Loading branch information
champierre committed Jul 5, 2024
1 parent 7608652 commit a543e1c
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v2
with:
repository: LLK/scratch-gui
ref: develop
ref: v3.6.18
- run: npm install
- uses: actions/checkout@v2
with:
Expand Down
14 changes: 7 additions & 7 deletions README.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,27 +85,27 @@ With PoseNet2Scratch extension blocks, you can get x and y position of the follo
1. Setup LLK/scratch-gui on your computer.

```
% git clone [email protected]:LLK/scratch-gui.git
% cd scratch-gui
% npm install
git clone --depth 1 [email protected]:LLK/scratch-gui.git
cd scratch-gui
npm install
```
2. In scratch-gui folder, clone PoseNet2Scratch. You will have posenet2scratch folder under scratch-gui.
```
% git clone [email protected]:champierre/posenet2scratch.git
git clone [email protected]:champierre/posenet2scratch.git
```
3. Run the install script.
```
% sh posenet2scratch/install.sh
sh posenet2scratch/install.sh
```
4. Run Scratch, then go to http://localhost:8601/.
```
% npm start
npm start
```
## Licence
Expand All @@ -116,4 +116,4 @@ With PoseNet2Scratch extension blocks, you can get x and y position of the follo
- Twitter
<img src="images/twitter.png" />
<img src="images/twitter.png" />
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,27 +100,27 @@ Xcratch の URL である [https://xcratch.github.io/](https://xcratch.github.io
1. Setup LLK/scratch-gui on your computer.

```
% git clone [email protected]:LLK/scratch-gui.git
% cd scratch-gui
% npm install
git clone --depth 1 [email protected]:LLK/scratch-gui.git
cd scratch-gui
npm install
```
2. In scratch-gui folder, clone PoseNet2Scratch. You will have posenet2scratch folder under scratch-gui.
```
% git clone [email protected]:champierre/posenet2scratch.git
git clone [email protected]:champierre/posenet2scratch.git
```
3. Run the install script.
```
% sh posenet2scratch/install.sh
sh posenet2scratch/install.sh
```
4. Run Scratch, then go to http://localhost:8601/.
```
% npm start
npm start
```
## Licence(ライセンス)
Expand Down
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ COLLABORATOR=champierre
EXTENSION_DESCRIPTION="PoseNet2Scratch Blocks."

cd node_modules/scratch-vm
npm install ml5
npm install ml5@0.12.2
cd ../../

mkdir -p node_modules/scratch-vm/src/extensions/scratch3_${EXTENSION_ID}
Expand Down

0 comments on commit a543e1c

Please sign in to comment.