File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -26,8 +26,8 @@ Pre-built binaries are available for a limited set of platforms.
26
26
27
27
| Platform | Download |
28
28
| ----------| ----------|
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 ) |
31
31
32
32
33
33
You can download and install the binary in your home directory like this:
Original file line number Diff line number Diff line change @@ -2,8 +2,7 @@ UNIDOC_MIRROR=https://static.swiftinit.org/unidoc
2
2
UNIDOC_VERSION=0.19.0
3
3
UNIDOC_PLATFORM=macOS-ARM64
4
4
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
You can’t perform that action at this time.
0 commit comments