Skip to content

Commit

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

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

echo "Downloading Typst from $url"
Expand Down

0 comments on commit c7d0f78

Please sign in to comment.