From 3f114b47103e1e2ba6f3b6faac49155f13cc989a Mon Sep 17 00:00:00 2001 From: itdoginfo Date: Sun, 30 Mar 2025 12:41:40 +0300 Subject: [PATCH] v0.3.31 --- install.sh | 7 +++++++ luci-app-podkop/Makefile | 2 +- podkop/Makefile | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 34d4e30..d52e27f 100755 --- a/install.sh +++ b/install.sh @@ -43,6 +43,13 @@ main() { add_tunnel fi + check_response=$(curl -s "https://api.github.com/repos/itdoginfo/podkop/releases/latest") + + if echo "$check_response" | grep -q 'API rate limit '; then + echo "You've reached rate limit from GitHub. Repeat in five minutes." + exit 1 + fi + download_success=0 while read -r url; do filename=$(basename "$url") diff --git a/luci-app-podkop/Makefile b/luci-app-podkop/Makefile index 5926321..4854f21 100644 --- a/luci-app-podkop/Makefile +++ b/luci-app-podkop/Makefile @@ -1,7 +1,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=luci-app-podkop -PKG_VERSION:=0.3.30 +PKG_VERSION:=0.3.31 PKG_RELEASE:=1 LUCI_TITLE:=LuCI podkop app diff --git a/podkop/Makefile b/podkop/Makefile index d7922c4..6d73091 100644 --- a/podkop/Makefile +++ b/podkop/Makefile @@ -1,7 +1,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=podkop -PKG_VERSION:=0.3.30 +PKG_VERSION:=0.3.31 PKG_RELEASE:=1 PKG_MAINTAINER:=ITDog