mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-03 22:25:57 +00:00
Use nightly to get kitty-tool until 0.27 is released
This commit is contained in:
parent
1addfea261
commit
81db5eb82f
1 changed files with 7 additions and 1 deletions
|
|
@ -72,7 +72,13 @@ release_version=$(fetch_quiet "https://sw.kovidgoyal.net/kitty/current-version.t
|
|||
die "Could not get kitty latest release version"
|
||||
}
|
||||
|
||||
url="https://github.com/kovidgoyal/kitty/releases/download/v$release_version/kitty-tool-$OS-$arch"
|
||||
release_version="v$release_version"
|
||||
# no kitty-tool available till 0.27.0
|
||||
case "$release_version" in
|
||||
v0.26.*) release_version="nightly";;
|
||||
esac
|
||||
|
||||
url="https://github.com/kovidgoyal/kitty/releases/download/$release_version/kitty-tool-$OS-$arch"
|
||||
|
||||
printf "\033[33mkitty-tool needs to be installed\033[m\n\n"
|
||||
command mkdir -p "$install_dir"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue