Skip to content

Commit 77e839b

Browse files
committed
update the guide
1 parent 96d92b3 commit 77e839b

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

Guides/docs.docc/Quickstart.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ Pre-built binaries are available for a limited set of platforms.
2626

2727
| Platform | Download |
2828
|----------|----------|
29-
| macOS | [`macOS-ARM64/unidoc.gz`](https://static.swiftinit.org/unidoc/0.19.0/macOS-ARM64/unidoc.gz) |
30-
| Linux | [`Linux-X64/unidoc.gz`](https://static.swiftinit.org/unidoc/0.19.0/Linux-X64/unidoc.gz) |
29+
| macOS | [`macOS-ARM64/unidoc.tar.gz`](https://static.swiftinit.org/unidoc/0.19.0/macOS-ARM64/unidoc.tar.gz) |
30+
| Linux | [`Linux-X64/unidoc.tar.gz`](https://static.swiftinit.org/unidoc/0.19.0/Linux-X64/unidoc.tar.gz) |
3131

3232

3333
You can download and install the binary in your home directory like this:

Guides/docs.docc/local/unidoc-install.sh

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ UNIDOC_MIRROR=https://static.swiftinit.org/unidoc
22
UNIDOC_VERSION=0.19.0
33
UNIDOC_PLATFORM=macOS-ARM64
44

5-
mkdir -p ~/unidoc/bin
6-
curl -L $UNIDOC_MIRROR/$UNIDOC_VERSION/$UNIDOC_PLATFORM/unidoc.gz \
7-
-o ~/unidoc/bin/unidoc.gz
8-
gzip -fdk ~/unidoc/bin/unidoc.gz
9-
chmod +x ~/unidoc/bin/unidoc
5+
curl -L $UNIDOC_MIRROR/$UNIDOC_VERSION/$UNIDOC_PLATFORM/unidoc.tar.gz \
6+
-o unidoc.tar.gz
7+
tar -xf unidoc.tar.gz
8+
sudo mv unidoc /usr/local/bin/unidoc

0 commit comments

Comments
 (0)