From 9c5aa2e6622aadf2b65f472f41de3430f33f6962 Mon Sep 17 00:00:00 2001 From: kiddin9 <48883331+kiddin9@users.noreply.github.com> Date: Wed, 11 Nov 2026 01:18:59 +0800 Subject: [PATCH] update --- .github/workflows/upstream.yml | 7 +- luci-app-nekobox/htdocs/nekobox/ping.php | 8023 ---------------------- 2 files changed, 4 insertions(+), 8026 deletions(-) delete mode 100644 luci-app-nekobox/htdocs/nekobox/ping.php diff --git a/.github/workflows/upstream.yml b/.github/workflows/upstream.yml index 90c2c9fc1..2edab1b4a 100644 --- a/.github/workflows/upstream.yml +++ b/.github/workflows/upstream.yml @@ -106,6 +106,7 @@ jobs: git_clone https://github.com/kiddin9/luci-app-vsftpd git_clone https://github.com/kiddin9/openwrt-subconverter && mvdir openwrt-subconverter git_clone https://github.com/kiddin9/luci-app-syncdial + git_clone https://github.com/kiddin9/openwrt-gately && mvdir openwrt-gately ) & ( git_clone https://github.com/Openwrt-Passwall/openwrt-passwall && mvdir openwrt-passwall @@ -178,7 +179,7 @@ jobs: git_clone https://github.com/nikkinikki-org/OpenWrt-nikki && mv -f OpenWrt-nikki/{luci-app-nikki,nikki,mihomo*} ./;rm -rf OpenWrt-nikki git_clone https://github.com/nikkinikki-org/OpenWrt-momo && mv -f OpenWrt-momo/{luci-app-momo,momo} ./;rm -rf OpenWrt-momo git_clone https://github.com/fcshark-org/openwrt-fchomo && mvdir openwrt-fchomo - git clone https://github.com/fw876/helloworld -b dev && mvdir helloworld + git clone https://github.com/fw876/helloworld -b dev; rm -rf helloworld/v2raya;mvdir helloworld git_clone https://github.com/umk0/openwrt-luci-haproxy-manager && mv -f openwrt-luci-haproxy-manager/luci-app-haproxy-manager ./;rm -rf openwrt-luci-haproxy-manager ) & ( @@ -405,7 +406,6 @@ jobs: git_clone https://github.com/Tokisaki-Galaxy/luci-app-tailscale-community tailscalec && mv -f tailscalec/luci-app* ./;rm -rf tailscalec git_clone https://github.com/szwjp/luci-app-ipsec-vpnd git_clone https://github.com/arafatrahmanzami/luci-app-easymesh;rm -rf luci-app-easymesh/meta-packages - git_clone https://github.com/kiddin9/openwrt-gately && mvdir openwrt-gately git_clone https://github.com/Zesuy/UA-Mask && cp -rf UA-Mask/openwrt/package/Makefile UA-Mask/ git_clone https://github.com/wrttools/luci-app-liteportal git_clone https://github.com/matthewlu070111/smart-srun @@ -559,7 +559,8 @@ jobs: ( for pkg in $(ls -d */ | grep -v "naiveproxy" | grep -v "luci-app-store" | grep -v "luci-app-quickstart"); do - if [[ $pkg == luci-* ]]; then + pkg="${pkg%/}" + if [[ $pkg == luci-app-v2raya ]]; then sed -i '/^[[:space:]]*PKG_\(VERSION\|RELEASE\):*=/d' $pkg/Makefile || true else if [[ "$(grep "PKG_VERSION" $pkg/Makefile)" && ! "$(grep "PKG_RELEASE" $pkg/Makefile)" ]]; then diff --git a/luci-app-nekobox/htdocs/nekobox/ping.php b/luci-app-nekobox/htdocs/nekobox/ping.php deleted file mode 100644 index b9f1b112b..000000000 --- a/luci-app-nekobox/htdocs/nekobox/ping.php +++ /dev/null @@ -1,8023 +0,0 @@ -/dev/null")); - -date_default_timezone_set($timezone ?: 'UTC'); -?> - - false, - 'message' => '' - ]; - - if (is_dir($nekoDir)) { - if (deleteNekoTmpDirectory($nekoDir)) { - $response['success'] = true; - $response['message'] = 'Directory cleared successfully.'; - } else { - $response['message'] = 'Failed to delete the directory.'; - } - } else { - $response['message'] = 'The directory does not exist.'; - } - - header('Content-Type: application/json'); - echo json_encode($response); - exit; -} - -function deleteNekoTmpDirectory($dir) { - if (!file_exists($dir)) { - return true; - } - if (!is_dir($dir)) { - return unlink($dir); - } - - foreach (scandir($dir) as $item) { - if ($item === '.' || $item === '..') { - continue; - } - - if (!deleteNekoTmpDirectory($dir . DIRECTORY_SEPARATOR . $item)) { - return false; - } - } - - return rmdir($dir); -} -?> - -"; - $singbox_autostart = $autostart; -} -?> - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -