mirror of
https://github.com/kiddin9/openwrt-packages.git
synced 2025-01-09 06:07:44 +08:00
🎉 Sync 2024-09-11 20:35:05
This commit is contained in:
parent
01b4d1da46
commit
57a960f0e9
@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
|
||||
PKG_MAINTAINER:=Thaolga <https://github.com/Thaolga/luci-app-nekoclash>
|
||||
PKG_NAME:=luci-app-nekoclash
|
||||
PKG_VERSION:=1.2.8
|
||||
PKG_RELEASE:=20
|
||||
PKG_RELEASE:=21
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
|
||||
|
||||
|
@ -1 +1 @@
|
||||
/etc/neko/config/tuanbe.yaml
|
||||
/etc/neko/config/mihomo.yaml
|
||||
|
@ -339,7 +339,7 @@
|
||||
break;
|
||||
case 'Escape':
|
||||
isPlayingAllowed = !isPlayingAllowed;
|
||||
localStorage.setItem('isPlayingAllowed', isPlayingAllowed); // Save state to localStorage
|
||||
localStorage.setItem('isPlayingAllowed', isPlayingAllowed);
|
||||
if (!isPlayingAllowed) {
|
||||
audioPlayer.pause();
|
||||
audioPlayer.src = '';
|
||||
@ -406,7 +406,7 @@
|
||||
});
|
||||
document.getElementById('toggleEnable').addEventListener('click', function() {
|
||||
isPlayingAllowed = !isPlayingAllowed;
|
||||
localStorage.setItem('isPlayingAllowed', isPlayingAllowed); // Save state to localStorage
|
||||
localStorage.setItem('isPlayingAllowed', isPlayingAllowed);
|
||||
if (!isPlayingAllowed) {
|
||||
audioPlayer.pause();
|
||||
audioPlayer.src = '';
|
||||
@ -470,7 +470,14 @@
|
||||
}
|
||||
|
||||
loadDefaultPlaylist();
|
||||
|
||||
document.addEventListener('dblclick', function() {
|
||||
var player = document.getElementById('player');
|
||||
if (player.style.display === 'none') {
|
||||
player.style.display = 'flex';
|
||||
} else {
|
||||
player.style.display = 'none';
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -1,7 +1,7 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=mihomo
|
||||
PKG_RELEASE:=52
|
||||
PKG_RELEASE:=53
|
||||
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_URL:=https://github.com/MetaCubeX/mihomo.git
|
||||
|
@ -76,7 +76,7 @@ config mixin 'mixin'
|
||||
option 'geosite_url' 'https://mirror.ghproxy.com/https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/geosite.dat'
|
||||
option 'geoip_mmdb_url' 'https://mirror.ghproxy.com/https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/geoip-lite.metadb'
|
||||
option 'geoip_dat_url' 'https://mirror.ghproxy.com/https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/geoip-lite.dat'
|
||||
option 'geoip_asn_url' 'https://mirror.ghproxy.com/https://github.com/xishang0128/geoip/releases/download/latest/GeoLite2-ASN.mmdb'
|
||||
option 'geoip_asn_url' 'https://mirror.ghproxy.com/https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/GeoLite2-ASN.mmdb'
|
||||
option 'geox_auto_update' '0'
|
||||
option 'geox_update_interval' '24'
|
||||
|
||||
|
@ -248,12 +248,22 @@ start_service() {
|
||||
log "Transparent Proxy: Start hijack."
|
||||
# prepare
|
||||
if [ "$tproxy_enable" == 1 ]; then
|
||||
ip route add local default dev lo table "$TPROXY_ROUTE_TABLE"
|
||||
if [ "$ipv4_proxy" == 1 ]; then
|
||||
ip route add local default dev lo table "$TPROXY_ROUTE_TABLE"
|
||||
fi
|
||||
if [ "$ipv6_proxy" == 1 ]; then
|
||||
ip -6 route add local default dev lo table "$TPROXY_ROUTE_TABLE"
|
||||
fi
|
||||
fi
|
||||
if [ "$tun_enable" == 1 ]; then
|
||||
ip tuntap add dev "$TUN_DEVICE" mode tun vnet_hdr
|
||||
ip link set "$TUN_DEVICE" up
|
||||
ip route add unicast default dev $TUN_DEVICE table "$TUN_ROUTE_TABLE"
|
||||
if [ "$ipv4_proxy" == 1 ]; then
|
||||
ip route add unicast default dev $TUN_DEVICE table "$TUN_ROUTE_TABLE"
|
||||
fi
|
||||
if [ "$ipv6_proxy" == 1 ]; then
|
||||
ip -6 route add unicast default dev $TUN_DEVICE table "$TUN_ROUTE_TABLE"
|
||||
fi
|
||||
$TUN_SH
|
||||
fi
|
||||
local tcp_route_table
|
||||
|
Loading…
Reference in New Issue
Block a user