replace nvim-manager with krayt
This commit is contained in:
parent
0025cea947
commit
1959e1a39b
1 changed files with 3 additions and 3 deletions
|
|
@ -148,11 +148,11 @@ function install {
|
||||||
FTYPE=""
|
FTYPE=""
|
||||||
case "${OS}_${ARCH}" in
|
case "${OS}_${ARCH}" in
|
||||||
"linux_amd64")
|
"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"
|
FTYPE=".tar.gz"
|
||||||
;;
|
;;
|
||||||
"linux_arm64")
|
"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"
|
FTYPE=".tar.gz"
|
||||||
;;
|
;;
|
||||||
*) fail "No asset for platform ${OS}-${ARCH}" ;;
|
*) fail "No asset for platform ${OS}-${ARCH}" ;;
|
||||||
|
|
@ -193,7 +193,7 @@ function install {
|
||||||
unzip -o -qq tmp.zip || fail "unzip failed"
|
unzip -o -qq tmp.zip || fail "unzip failed"
|
||||||
rm tmp.zip || fail "cleanup failed"
|
rm tmp.zip || fail "cleanup failed"
|
||||||
elif [[ $FTYPE = ".bin" ]]; then
|
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
|
else
|
||||||
fail "unknown file type: $FTYPE"
|
fail "unknown file type: $FTYPE"
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue