From ca4ee432cf614ff6548d89d7f37648507663124b Mon Sep 17 00:00:00 2001 From: Harivansh Rathi Date: Mon, 29 Dec 2025 21:22:01 +0530 Subject: [PATCH] fix --- install.sh | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index e6ead66..458a78b 100755 --- a/install.sh +++ b/install.sh @@ -23,7 +23,18 @@ if ! command -v nvim &> /dev/null; then echo -e "${YELLOW}Neovim not found. Installing via appimage (no sudo required)...${NC}" cd /tmp - curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim.appimage + rm -f nvim.appimage + + # Use stable release URL (more reliable than 'latest' redirect) + NVIM_URL="https://github.com/neovim/neovim/releases/download/stable/nvim-linux-x86_64.appimage" + + echo "Downloading from $NVIM_URL..." + if command -v wget &> /dev/null; then + wget -q --show-progress -O nvim.appimage "$NVIM_URL" + else + curl -L -o nvim.appimage "$NVIM_URL" + fi + chmod u+x nvim.appimage # Try to extract (works on most systems)