diff --git a/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js b/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js index fd526f4f2..816a618aa 100644 --- a/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js +++ b/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js @@ -222,7 +222,7 @@ return view.extend({ o = s.taboption('bypass', form.Value, 'acl_tcp_dport', _('Destination TCP Port to Proxy')); o.rmempty = false; o.value('0-65535', _('All Port')); - o.value('21 22 80 110 143 194 443 465 993 995 8080 8443', _('Commonly Used Port')); + o.value('21 22 80 110 143 194 443 465 853 993 995 8080 8443', _('Commonly Used Port')); o = s.taboption('bypass', form.Value, 'acl_udp_dport', _('Destination UDP Port to Proxy')); o.rmempty = false; diff --git a/luci-app-nekobox/htdocs/nekobox/geosite/netflix b/luci-app-nekobox/htdocs/nekobox/geosite/netflix new file mode 100644 index 000000000..fab5ff5d5 Binary files /dev/null and b/luci-app-nekobox/htdocs/nekobox/geosite/netflix differ diff --git a/luci-app-nekobox/htdocs/nekobox/proxy/subscription_0.yaml b/luci-app-nekobox/htdocs/nekobox/proxy/subscription_0.yaml deleted file mode 100644 index f2c30c7bd..000000000 --- a/luci-app-nekobox/htdocs/nekobox/proxy/subscription_0.yaml +++ /dev/null @@ -1 +0,0 @@ -proxies: \ No newline at end of file diff --git a/luci-app-nekobox/htdocs/nekobox/proxy/subscription_1.yaml b/luci-app-nekobox/htdocs/nekobox/proxy/subscription_1.yaml index f2c30c7bd..0572cf207 100644 --- a/luci-app-nekobox/htdocs/nekobox/proxy/subscription_1.yaml +++ b/luci-app-nekobox/htdocs/nekobox/proxy/subscription_1.yaml @@ -1 +1 @@ -proxies: \ No newline at end of file +proxies: diff --git a/luci-app-nekobox/root/etc/neko/proxy_provider/subscription_1.yaml b/luci-app-nekobox/root/etc/neko/proxy_provider/subscription_1.yaml new file mode 100644 index 000000000..0572cf207 --- /dev/null +++ b/luci-app-nekobox/root/etc/neko/proxy_provider/subscription_1.yaml @@ -0,0 +1 @@ +proxies: diff --git a/luci-app-nekobox/root/usr/bin/nekobox b/luci-app-nekobox/root/usr/bin/nekobox index ddee33458..a022bd93d 100644 --- a/luci-app-nekobox/root/usr/bin/nekobox +++ b/luci-app-nekobox/root/usr/bin/nekobox @@ -332,6 +332,30 @@ install_puernya() { echo "Puernya core installation completed successfully." } +download_ruleset() { + local ruleset_url="https://github.com/Thaolga/openwrt-nekobox/releases/download/1.5.0/nekobox.zip" + local temp_file="/tmp/nekobox.zip" + local extract_dir="/www/nekobox" + + echo "正在下载 Sing-box 规则集..." + wget -O "$temp_file" "$ruleset_url" + if [ $? -ne 0 ]; then + echo -e "${RED}下载失败!${NC}" + exit 1 + fi + + echo "正在解压规则集到 $extract_dir..." + mkdir -p "$extract_dir" + unzip -o "$temp_file" -d "$extract_dir" + if [ $? -ne 0 ]; then + echo -e "${RED}解压失败!${NC}" + exit 1 + fi + + echo "规则集下载和解压完成!" + rm -f "$temp_file" +} + install_ui() { GREEN='\033[0;32m' RED='\033[0;31m' @@ -453,13 +477,15 @@ install_core_menu() { if [ "$language" = "cn" ]; then printf "${CLCyan} %-54s ${NC}\n" "1. 安装 Sing-box 核心" printf "${CLCyan} %-54s ${NC}\n" "2. 安装 puernya 核心" - printf "${CLCyan} %-54s ${NC}\n" "3. 返回主菜单" + printf "${CLCyan} %-54s ${NC}\n" "3. 下载 Sing-box 规则集" + printf "${CLCyan} %-54s ${NC}\n" "4. 返回主菜单" echo -e "${CLCyan}╚════════════════════════════════════════════════════════╝" read -p "请选择要安装的核心: " core_choice else printf "${CLCyan} %-54s ${NC}\n" "1. Install Sing-box Core" printf "${CLCyan} %-54s ${NC}\n" "2. Install puernya Core" - printf "${CLCyan} %-54s ${NC}\n" "3. Return to Main Menu" + printf "${CLCyan} %-54s ${NC}\n" "3. Download Sing-box Ruleset" + printf "${CLCyan} %-54s ${NC}\n" "4. Return to Main Menu" echo -e "${CLCyan}╚════════════════════════════════════════════════════════╝" read -p "Please select a core to install: " core_choice fi @@ -471,6 +497,9 @@ install_core_menu() { install_puernya ;; 3) + download_ruleset + ;; + 4) return ;; *) diff --git a/luci-app-transmission/po/cs/transmission.po b/luci-app-transmission/po/cs/transmission.po index 27b0bb41b..a0097794f 100644 --- a/luci-app-transmission/po/cs/transmission.po +++ b/luci-app-transmission/po/cs/transmission.po @@ -1,8 +1,8 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"PO-Revision-Date: 2023-09-30 22:00+0000\n" -"Last-Translator: David Rapaň \n" +"PO-Revision-Date: 2024-10-22 12:00+0000\n" +"Last-Translator: Ondřej Vajda \n" "Language-Team: Czech \n" "Language: cs\n" @@ -10,11 +10,11 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" -"X-Generator: Weblate 5.1-dev\n" +"X-Generator: Weblate 5.8.2-dev\n" #: applications/luci-app-transmission/htdocs/luci-static/resources/view/transmission.js:65 msgid "Alternative download speed" -msgstr "Alternativní rychlost download" +msgstr "Alternativní rychlost stahování" #: applications/luci-app-transmission/htdocs/luci-static/resources/view/transmission.js:59 msgid "Alternative speed enabled" diff --git a/luci-app-transmission/po/ru/transmission.po b/luci-app-transmission/po/ru/transmission.po index 57b29ae93..ae7eac82b 100644 --- a/luci-app-transmission/po/ru/transmission.po +++ b/luci-app-transmission/po/ru/transmission.po @@ -2,8 +2,8 @@ msgid "" msgstr "" "Project-Id-Version: LuCI: transmission\n" "POT-Creation-Date: 2012-08-15 17:35+0300\n" -"PO-Revision-Date: 2024-10-16 19:05+0000\n" -"Last-Translator: Lorekin \n" +"PO-Revision-Date: 2024-10-30 02:45+0000\n" +"Last-Translator: sergio \n" "Language-Team: Russian \n" "Language: ru\n" @@ -12,7 +12,7 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && " "n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" -"X-Generator: Weblate 5.8-rc\n" +"X-Generator: Weblate 5.8.2-dev\n" "Project-Info: Это технический перевод, не дословный. Главное-удобный русский " "интерфейс, все проверялось в графическом режиме, совместим с другими apps\n" @@ -409,7 +409,7 @@ msgid "" "Transmission daemon is a simple bittorrent client, here you can configure " "the settings." msgstr "" -"Демон Transmission — это простой bittorrent-клиент. Здесь вы сможете его " +"Демон Transmission — это простой bittorrent-клиент. Здесь можно его " "настроить.
Установить пакеты веб-интерфейса недостаточно, выберите и " "установите необходимый для работы пакет демона transmission-daemon-openssl " "или transmission-daemon-mbedtls." diff --git a/luci-app-transmission/po/sv/transmission.po b/luci-app-transmission/po/sv/transmission.po index de61044d8..55a70cedf 100644 --- a/luci-app-transmission/po/sv/transmission.po +++ b/luci-app-transmission/po/sv/transmission.po @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"PO-Revision-Date: 2024-02-15 22:09+0000\n" +"PO-Revision-Date: 2024-10-23 12:34+0000\n" "Last-Translator: Kristoffer Grundström \n" "Language-Team: Swedish \n" @@ -10,7 +10,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 5.4\n" +"X-Generator: Weblate 5.8.2-dev\n" #: applications/luci-app-transmission/htdocs/luci-static/resources/view/transmission.js:65 msgid "Alternative download speed" @@ -87,7 +87,7 @@ msgstr "DHT aktiverat" #: applications/luci-app-transmission/htdocs/luci-static/resources/view/transmission.js:151 msgid "Debug" -msgstr "Felsökning" +msgstr "Avlusa" #: applications/luci-app-transmission/htdocs/luci-static/resources/view/transmission.js:97 msgid "Download directory" @@ -107,7 +107,7 @@ msgstr "Aktivera övervakningsmapp" #: applications/luci-app-transmission/htdocs/luci-static/resources/view/transmission.js:47 msgid "Enabled" -msgstr "Aktiverad" +msgstr "Aktiverat" #: applications/luci-app-transmission/htdocs/luci-static/resources/view/transmission.js:136 msgid "Encryption"