Skip to content

Commit 8122660

Browse files
committed
Update download instructions for AVBlocks Core and Assets to use version v3.1.0-demo.1 and improve script consistency
1 parent b35daf9 commit 8122660

File tree

2 files changed

+30
-12
lines changed

2 files changed

+30
-12
lines changed

docs/download-avblocks-core-and-assets-linux.md

Lines changed: 24 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,33 @@ In the script below, change the tag to the release that you need. For the availa
1212

1313
```bash
1414
# select version and platform
15-
tag="v3.0.0-demo.1"
15+
tag="v3.1.0-demo.1"
1616
platform="linux"
1717

1818
# download
1919
mkdir -p ./sdk
20+
cd ./sdk
21+
22+
# sdk
2023
curl \
2124
--location \
22-
--output ./sdk/avblocks_$tag-$platform.tar.gz \
23-
https://github.com/avblocks/avblocks-core/releases/download/$tag/avblocks_$tag-$platform.tar.gz
25+
--output ./avblocks-$tag-$platform.tar.gz \
26+
https://github.com/avblocks/avblocks-core/releases/download/$tag/avblocks-$tag-$platform.tar.gz
2427

28+
29+
# sha256 checksum
30+
curl \
31+
--location \
32+
--output ./avblocks-$tag-$platform.tar.gz.sha256 \
33+
https://github.com/avblocks/avblocks-core/releases/download/$tag/avblocks-$tag-$platform.tar.gz.sha256
34+
35+
# verify sha256 checksum
36+
shasum --check ./avblocks-$tag-$platform.tar.gz.sha256
37+
2538
# unzip
26-
pushd sdk
27-
tar -xvf avblocks_$tag-$platform.tar.gz
28-
popd
39+
tar -xvf avblocks-$tag-$platform.tar.gz
40+
41+
cd ..
2942
```
3043

3144
## Assets
@@ -34,14 +47,15 @@ These demo audio and video assets are used as input for the AVBlocks samples.
3447

3548
```bash
3649
mkdir -p ./assets
50+
cd ./assets
51+
3752
curl \
3853
--location \
39-
--output ./assets/avblocks_assets_v1.zip \
54+
--output ./avblocks_assets_v1.zip \
4055
https://github.com/avblocks/avblocks-assets/releases/download/v1/avblocks_assets_v1.zip
4156

4257
# unzip
43-
pushd assets
4458
unzip avblocks_assets_v1.zip
45-
popd
46-
```
4759

60+
cd ..
61+
```

docs/download-avblocks-core-and-assets-mac.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ platform="darwin"
1717

1818
# download
1919
mkdir -p ./sdk
20-
cd sdk
20+
cd ./sdk
2121

2222
# sdk
2323
curl \
@@ -36,6 +36,8 @@ shasum --check ./avblocks-$tag-$platform.zip.sha256
3636

3737
# unzip
3838
unzip avblocks-$tag-$platform.zip
39+
40+
cd ..
3941
```
4042

4143
## Assets
@@ -44,7 +46,7 @@ These demo audio and video assets are used as input for the AVBlocks samples.
4446

4547
```bash
4648
mkdir -p ./assets
47-
cd assets
49+
cd ./assets
4850

4951
curl \
5052
--location \
@@ -53,4 +55,6 @@ curl \
5355

5456
# unzip
5557
unzip avblocks_assets_v1.zip
58+
59+
cd ..
5660
```

0 commit comments

Comments
 (0)