replace nvim-manager with krayt

This commit is contained in:
Waylon S. Walker 2025-04-18 13:36:05 -05:00
parent 0025cea947
commit 1959e1a39b

View file

@ -148,11 +148,11 @@ function install {
FTYPE=""
case "${OS}_${ARCH}" in
"linux_amd64")
URL="https://github.com/WaylonWalker/nvim-manager/releases/download/v${RELEASE}/nvim-manager-${RELEASE}-x86_64-unknown-linux-gnu.tar.gz"
URL="https://github.com/WaylonWalker/krayt/releases/download/v${RELEASE}/krayt-${RELEASE}-x86_64-unknown-linux-gnu.tar.gz"
FTYPE=".tar.gz"
;;
"linux_arm64")
URL="https://github.com/WaylonWalker/nvim-manager/releases/download/v${RELEASE}/nvim-manager-${RELEASE}-aarch64-unknown-linux-gnu.tar.gz"
URL="https://github.com/WaylonWalker/krayt/releases/download/v${RELEASE}/krayt-${RELEASE}-aarch64-unknown-linux-gnu.tar.gz"
FTYPE=".tar.gz"
;;
*) fail "No asset for platform ${OS}-${ARCH}" ;;
@ -193,7 +193,7 @@ function install {
unzip -o -qq tmp.zip || fail "unzip failed"
rm tmp.zip || fail "cleanup failed"
elif [[ $FTYPE = ".bin" ]]; then
bash -c "$GET $URL" >"nvim-manager_${OS}_${ARCH}" || fail "download failed"
bash -c "$GET $URL" >"krayt_${OS}_${ARCH}" || fail "download failed"
else
fail "unknown file type: $FTYPE"
fi