mirror of
https://github.com/yeongpin/cursor-free-vip.git
synced 2025-08-03 04:57:36 +08:00
fix: Correct Syntax in Linux Installation Script
- Fix syntax error in install script's conditional statements - Remove unnecessary braces and correct shell script syntax - Ensure proper handling of Linux architecture detection
This commit is contained in:
parent
4f6f3fe814
commit
f708ce443b
@ -134,7 +134,7 @@ install_cursor_free_vip() {
|
|||||||
echo -e "${RED}❌ New download link does not exist${NC}"
|
echo -e "${RED}❌ New download link does not exist${NC}"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
} elif [[ "$OS" == "linux_x64" || "$OS" == "linux_arm64" ]]; then
|
elif [[ "$OS" == "linux_x64" || "$OS" == "linux_arm64" ]]; then
|
||||||
OS="linux"
|
OS="linux"
|
||||||
binary_name="CursorFreeVIP_${VERSION}_${OS}"
|
binary_name="CursorFreeVIP_${VERSION}_${OS}"
|
||||||
download_url="https://github.com/yeongpin/cursor-free-vip/releases/download/v${VERSION}/${binary_name}"
|
download_url="https://github.com/yeongpin/cursor-free-vip/releases/download/v${VERSION}/${binary_name}"
|
||||||
@ -144,9 +144,9 @@ install_cursor_free_vip() {
|
|||||||
echo -e "${RED}❌ New download link does not exist${NC}"
|
echo -e "${RED}❌ New download link does not exist${NC}"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
} else {
|
else
|
||||||
exit 1
|
exit 1
|
||||||
}
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Download file
|
# Download file
|
||||||
|
Loading…
x
Reference in New Issue
Block a user