🎈 perf: 优化旗帜匹配

增强订阅节点时旗帜匹配的准确性。
This commit is contained in:
老竭力 2022-01-08 14:02:55 +08:00
parent af762040fd
commit 01201fb445
5 changed files with 60 additions and 97 deletions

View File

@ -1,8 +1,8 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=luci-app-vssr
PKG_VERSION:=1.22-2
PKG_RELEASE:=20210904
PKG_VERSION:=1.23
PKG_RELEASE:=20220108
PKG_CONFIG_DEPENDS:= \
CONFIG_PACKAGE_$(PKG_NAME)_INCLUDE_Xray \

View File

@ -37,8 +37,8 @@
目前Lean最新版本的openwrt 已经可以直接拉取源码到 package/lean 下直接进行勾选并编译。
### 更新日志 2021-03-22 v1.22-1
- FIX: 修复Vless 链接无法导入的问题由于目前链接样本依然不够如果可能请在issues里向我提供更多的样本
### 更新日志 2022-01-08 v1.23
- FIX: 增强订阅节点时旗帜匹配的准确性
详情见[具体日志](./relnotes.txt)。

View File

@ -145,17 +145,17 @@
$html += '<div class="pure-g choose_node">';
$html += '<div class="pure-u-1-2"><div class="gap"><button class="cbi-button cbi-button-apply change-node" data-server="global" data-node="' + node + '"> 主服务器 </button></div></div>';
$html += '<div class="pure-u-1-2"><div class="gap"><button class="cbi-button cbi-button-apply change-node" data-server="udp_relay" data-node="' + node + '"> UDP游戏模式 </button></div></div>';
$html += '<div class="pure-u-1-2"><div class="gap"><button class="cbi-button cbi-button-apply change-node" data-server="youtube" data-node="' + node + '"> Youtube </button></div></div>';
$html += '<div class="pure-u-1-2"><div class="gap"><button class="cbi-button cbi-button-apply change-node" data-server="youtube" data-node="' + node + '"> Youtube 分流 </button></div></div>';
//if ($('#cbi-' + CONFIG + '-' + node).attr("data-flag") == "tw") {
$html += '<div class="pure-u-1-2"><div class="gap"><button class="cbi-button cbi-button-apply change-node" data-server="tw_video" data-node="' + node + '"> TW Video </button></div></div>';
$html += '<div class="pure-u-1-2"><div class="gap"><button class="cbi-button cbi-button-apply change-node" data-server="tw_video" data-node="' + node + '"> 台湾视频 分流 </button></div></div>';
//}
$html += '<div class="pure-u-1-2"><div class="gap"><button class="cbi-button cbi-button-apply change-node" data-server="netflix" data-node="' + node + '"> Netflix </button></div></div>';
$html += '<div class="pure-u-1-2"><div class="gap"><button class="cbi-button cbi-button-apply change-node" data-server="disney" data-node="' + node + '"> Diseny+ </button></div></div>';
$html += '<div class="pure-u-1-2"><div class="gap"><button class="cbi-button cbi-button-apply change-node" data-server="prime" data-node="' + node + '"> Prime Video </button></div></div>';
$html += '<div class="pure-u-1-2"><div class="gap"><button class="cbi-button cbi-button-apply change-node" data-server="netflix" data-node="' + node + '"> Netflix 分流 </button></div></div>';
$html += '<div class="pure-u-1-2"><div class="gap"><button class="cbi-button cbi-button-apply change-node" data-server="disney" data-node="' + node + '"> Diseny+ 分流 </button></div></div>';
$html += '<div class="pure-u-1-2"><div class="gap"><button class="cbi-button cbi-button-apply change-node" data-server="prime" data-node="' + node + '"> Prime Video 分流 </button></div></div>';
//if ($('#cbi-' + CONFIG + '-' + node).attr("data-flag") == "hk") {
$html += '<div class="pure-u-1-2"><div class="gap"><button class="cbi-button cbi-button-apply change-node" data-server="tvb" data-node="' + node + '"> TVB Video </button></div></div>';
$html += '<div class="pure-u-1-2"><div class="gap"><button class="cbi-button cbi-button-apply change-node" data-server="tvb" data-node="' + node + '"> 香港TVB 分流 </button></div></div>';
//}
$html += '<div class="pure-u-1-2"><div class="gap"><button class="cbi-button cbi-button-apply change-node" data-server="custom" data-node="' + node + '"> 自定义 </button></div></div>';
$html += '<div class="pure-u-1-2"><div class="gap"><button class="cbi-button cbi-button-apply change-node" data-server="custom" data-node="' + node + '"> 自定义 分流 </button></div></div>';
$html += '</div>';
Swal.fire({
title: '请选择应用于',

View File

@ -4,6 +4,32 @@
#
########################################################
########################################################
//
// 1.23 2022-01-08
// 体验增强
//
########################################################
Updates
- FIX: 增强订阅节点时旗帜匹配的准确性。
########################################################
//
// 1.22-1 2021-03-22
// BUG修复
//
########################################################
Updates
- FIX: 修复Vless 链接无法导入的问题由于目前链接样本依然不够如果可能请在issues里向我提供更多的样本
########################################################
//
// 1.22 2021-01-19

File diff suppressed because one or more lines are too long