Skip to content

Commit

Permalink
Update install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
jcbhmr authored Dec 17, 2023
1 parent 4ed1e0d commit 92984cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ typst_install="${TYPST_INSTALL:-$HOME/.typst}"
mkdir -p "$typst_install"

if [ -n "$1" ]; then
url="https://github.com/typst/typst/releases/download/$1/$file"
url="https://github.com/typst/typst/releases/download/v$1/$file"
else
url="https://github.com/typst/typst/releases/latest/download/$file"
fi
Expand Down

0 comments on commit 92984cb

Please sign in to comment.