mirror of
https://github.com/kenzok8/small-package.git
synced 2026-02-08 07:37:13 +08:00
update-10.23
This commit is contained in:
@@ -55,6 +55,7 @@ define Package/brook/config
|
|||||||
|
|
||||||
config BROOK_COMPRESS_UPX
|
config BROOK_COMPRESS_UPX
|
||||||
bool "Compress executable files with UPX"
|
bool "Compress executable files with UPX"
|
||||||
|
depends on @!mips64
|
||||||
default y
|
default y
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|||||||
@@ -50,6 +50,7 @@ config HYSTERIA_COMPRESS_GOPROXY
|
|||||||
|
|
||||||
config HYSTERIA_COMPRESS_UPX
|
config HYSTERIA_COMPRESS_UPX
|
||||||
bool "Compress executable files with UPX"
|
bool "Compress executable files with UPX"
|
||||||
|
depends on @!mips64
|
||||||
default y
|
default y
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|||||||
@@ -51,6 +51,7 @@ uci:foreach("wireless", "wifi-device",
|
|||||||
function(s)
|
function(s)
|
||||||
apRadio:value(s['.name'])
|
apRadio:value(s['.name'])
|
||||||
end)
|
end)
|
||||||
|
apRadio:value("all", translate("ALL"))
|
||||||
o.default = "radio0"
|
o.default = "radio0"
|
||||||
o.rmempty = false
|
o.rmempty = false
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ STOP=10
|
|||||||
enable=$(uci get easymesh.config.enabled 2>/dev/null)
|
enable=$(uci get easymesh.config.enabled 2>/dev/null)
|
||||||
mesh_bat0=$(uci get network.bat0 2>/dev/null)
|
mesh_bat0=$(uci get network.bat0 2>/dev/null)
|
||||||
mesh_nwi_mesh0=$(uci get network.nwi_mesh0 2>/dev/null)
|
mesh_nwi_mesh0=$(uci get network.nwi_mesh0 2>/dev/null)
|
||||||
mesh_mesh0=$(uci get wireless.mesh0 2>/dev/null)
|
|
||||||
ap_mode=$(uci get easymesh.config.ap_mode 2>/dev/null)
|
ap_mode=$(uci get easymesh.config.ap_mode 2>/dev/null)
|
||||||
lan=$(uci get network.lan.ifname 2>/dev/null)
|
lan=$(uci get network.lan.ifname 2>/dev/null)
|
||||||
ipaddr=$(uci get easymesh.config.ipaddr 2>/dev/null)
|
ipaddr=$(uci get easymesh.config.ipaddr 2>/dev/null)
|
||||||
@@ -15,15 +14,10 @@ ap_gateway=$(uci get network.lan.gateway 2>/dev/null)
|
|||||||
ap_gateway1=$(cat /etc/easymesh | sed -n '1p' 2>/dev/null)
|
ap_gateway1=$(cat /etc/easymesh | sed -n '1p' 2>/dev/null)
|
||||||
dns1=$(cat /etc/easymesh | sed -n '2p' 2>/dev/null)
|
dns1=$(cat /etc/easymesh | sed -n '2p' 2>/dev/null)
|
||||||
dns=$(uci get easymesh.config.dns 2>/dev/null)
|
dns=$(uci get easymesh.config.dns 2>/dev/null)
|
||||||
mesh_id=$(uci get easymesh.config.mesh_id 2>/dev/null)
|
|
||||||
apRadio=$(uci get easymesh.config.apRadio 2>/dev/null)
|
apRadio=$(uci get easymesh.config.apRadio 2>/dev/null)
|
||||||
mesh0_apRadio=$(uci get wireless.mesh0.device 2>/dev/null)
|
|
||||||
encryption=$(uci get easymesh.config.encryption 2>/dev/null)
|
encryption=$(uci get easymesh.config.encryption 2>/dev/null)
|
||||||
key=$(uci get easymesh.config.key 2>/dev/null)
|
key=$(uci get easymesh.config.key 2>/dev/null)
|
||||||
kvr=$(uci get easymesh.config.kvr 2>/dev/null)
|
kvr=$(uci get easymesh.config.kvr 2>/dev/null)
|
||||||
mobility_domain=$(uci get easymesh.config.mobility_domain 2>/dev/null)
|
|
||||||
rssi_val=$(uci get easymesh.config.rssi_val 2>/dev/null)
|
|
||||||
low_rssi_val=$(uci get easymesh.config.low_rssi_val 2>/dev/null)
|
|
||||||
|
|
||||||
ap_mode_stop(){
|
ap_mode_stop(){
|
||||||
if [ "$ap_gateway" = "$ap_gateway1" ]; then
|
if [ "$ap_gateway" = "$ap_gateway1" ]; then
|
||||||
@@ -42,17 +36,78 @@ ap_mode_stop(){
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
kvr_stop(){
|
add_wifi_mesh(){
|
||||||
for wifiiface in $(uci -X show wireless | grep wifi-iface | awk -F'[=]' '{print $1}'); do
|
mesh_apRadio=$(uci get wireless.mesh_${apall}.device 2>/dev/null)
|
||||||
if [ "${wifiiface}" != "wireless.mesh0" ]; then
|
mesh_mesh=$(uci get wireless.mesh_${apall} 2>/dev/null)
|
||||||
uci delete ${wifiiface}.ieee80211k
|
mesh_id=$(uci get easymesh.config.mesh_id 2>/dev/null)
|
||||||
uci delete ${wifiiface}.ieee80211v
|
if [ "$mesh_apRadio" != "wifi-iface" ]; then
|
||||||
uci delete ${wifiiface}.ieee80211r
|
uci set wireless.mesh_$apall=wifi-iface
|
||||||
uci commit network
|
uci set wireless.mesh_$apall.device=$apall
|
||||||
fi
|
uci set wireless.mesh_$apall.ifname=mesh_${apall}
|
||||||
done
|
uci set wireless.mesh_$apall.network='nwi_mesh0'
|
||||||
/etc/init.d/dawn stop && /etc/init.d/dawn disable
|
uci set wireless.mesh_$apall.mode='mesh'
|
||||||
|
uci set wireless.mesh_$apall.mesh_fwding='0'
|
||||||
|
uci set wireless.mesh_$apall.mesh_id=$mesh_id
|
||||||
|
uci commit wireless
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ "$mesh_mesh" = "wifi-iface" ]; then
|
||||||
|
if [ "$mesh_apRadio" != "$apall" ]; then
|
||||||
|
uci set wireless.mesh_$apall.device=$apall
|
||||||
|
uci commit wireless
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ "$encryption" != 1 ]; then
|
||||||
|
uci set wireless.mesh_$apall.encryption='none'
|
||||||
|
uci commit wireless
|
||||||
|
else
|
||||||
|
uci set wireless.mesh_$apall.encryption='sae'
|
||||||
|
uci set wireless.mesh_$apall.key=$key
|
||||||
|
uci commit wireless
|
||||||
|
fi
|
||||||
|
add_kvr
|
||||||
|
}
|
||||||
|
|
||||||
|
add_kvr(){
|
||||||
|
mobility_domain=$(uci get easymesh.config.mobility_domain 2>/dev/null)
|
||||||
|
|
||||||
|
for wifiiface in $(uci -X show wireless | grep wifi-iface | awk -F'[=]' '{print $1}'); do
|
||||||
|
if [ "${wifiiface}" != "wireless.mesh_${apall}" ]; then
|
||||||
|
if [ "$kvr" = 1 ]; then
|
||||||
|
uci set ${wifiiface}.ieee80211k='1'
|
||||||
|
uci set ${wifiiface}.rrm_neighbor_report='1'
|
||||||
|
uci set ${wifiiface}.rrm_beacon_report='1'
|
||||||
|
uci set ${wifiiface}.ieee80211v='1'
|
||||||
|
uci set ${wifiiface}.bss_transition='1'
|
||||||
|
uci set ${wifiiface}.ieee80211r='1'
|
||||||
|
uci set ${wifiiface}.encryption='psk-mixed'
|
||||||
|
uci set ${wifiiface}.mobility_domain=$mobility_domain
|
||||||
|
uci set ${wifiiface}.ft_over_ds='1'
|
||||||
|
uci set ${wifiiface}.ft_psk_generate_local='1'
|
||||||
|
uci commit network
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
uci delete ${wifiiface}.ieee80211k
|
||||||
|
uci delete ${wifiiface}.ieee80211v
|
||||||
|
uci delete ${wifiiface}.ieee80211r
|
||||||
|
uci commit network
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
add_dawn(){
|
||||||
|
rssi_val=$(uci get easymesh.config.rssi_val 2>/dev/null)
|
||||||
|
low_rssi_val=$(uci get easymesh.config.low_rssi_val 2>/dev/null)
|
||||||
|
|
||||||
|
if [ "$kvr" = 1 ]; then
|
||||||
|
uci set dawn.@metric[0].rssi_val=$rssi_val
|
||||||
|
uci set dawn.@metric[0].low_rssi_val=$low_rssi_val
|
||||||
|
uci commit dawn
|
||||||
|
/etc/init.d/dawn enable && /etc/init.d/dawn start
|
||||||
|
else
|
||||||
|
/etc/init.d/dawn stop && /etc/init.d/dawn disable
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
start(){
|
start(){
|
||||||
@@ -89,56 +144,13 @@ start(){
|
|||||||
uci commit network
|
uci commit network
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$mesh_mesh0" != "wifi-iface" ]; then
|
if [ "$apRadio" = "all" ]; then
|
||||||
uci set wireless.mesh0=wifi-iface
|
for apall in $(uci -X show wireless | grep wifi-device | awk -F'[.=]' '{print $2}'); do
|
||||||
uci set wireless.mesh0.device=$apRadio
|
add_wifi_mesh
|
||||||
uci set wireless.mesh0.ifname='mesh0'
|
|
||||||
uci set wireless.mesh0.network='nwi_mesh0'
|
|
||||||
uci set wireless.mesh0.mode='mesh'
|
|
||||||
uci set wireless.mesh0.mesh_fwding='0'
|
|
||||||
uci set wireless.mesh0.mesh_id=$mesh_id
|
|
||||||
uci commit wireless
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$mesh_mesh0" = "wifi-iface" ]; then
|
|
||||||
if [ "$mesh0_apRadio" != "$apRadio" ]; then
|
|
||||||
uci set wireless.mesh0.device=$apRadio
|
|
||||||
uci commit wireless
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$encryption" != 1 ]; then
|
|
||||||
uci set wireless.mesh0.encryption='none'
|
|
||||||
uci commit wireless
|
|
||||||
else
|
|
||||||
uci set wireless.mesh0.encryption='sae'
|
|
||||||
uci set wireless.mesh0.key=$key
|
|
||||||
uci commit wireless
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$kvr" = 1 ]; then
|
|
||||||
for wifiiface in $(uci -X show wireless | grep wifi-iface | awk -F'[=]' '{print $1}'); do
|
|
||||||
if [ "${wifiiface}" != "wireless.mesh0" ]; then
|
|
||||||
uci set ${wifiiface}.ieee80211k='1'
|
|
||||||
uci set ${wifiiface}.rrm_neighbor_report='1'
|
|
||||||
uci set ${wifiiface}.rrm_beacon_report='1'
|
|
||||||
uci set ${wifiiface}.ieee80211v='1'
|
|
||||||
uci set ${wifiiface}.bss_transition='1'
|
|
||||||
uci set ${wifiiface}.ieee80211r='1'
|
|
||||||
uci set ${wifiiface}.encryption='psk-mixed'
|
|
||||||
uci set ${wifiiface}.mobility_domain=$mobility_domain
|
|
||||||
uci set ${wifiiface}.ft_over_ds='1'
|
|
||||||
uci set ${wifiiface}.ft_psk_generate_local='1'
|
|
||||||
uci commit network
|
|
||||||
fi
|
|
||||||
done
|
done
|
||||||
|
|
||||||
uci set dawn.@metric[0].rssi_val=$rssi_val
|
|
||||||
uci set dawn.@metric[0].low_rssi_val=$low_rssi_val
|
|
||||||
uci commit dawn
|
|
||||||
/etc/init.d/dawn enable && /etc/init.d/dawn start
|
|
||||||
else
|
else
|
||||||
kvr_stop
|
apall=$apRadio
|
||||||
|
add_wifi_mesh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$ap_mode" == 1 ]; then
|
if [ "$ap_mode" == 1 ]; then
|
||||||
@@ -186,12 +198,16 @@ stop(){
|
|||||||
uci commit network
|
uci commit network
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$mesh_mesh0" = "wifi-iface" ]; then
|
for apall in $(uci -X show wireless | grep wifi-device | awk -F'[.=]' '{print $2}'); do
|
||||||
uci delete wireless.mesh0
|
mesh_mesh=$(uci get wireless.mesh_${apall} 2>/dev/null)
|
||||||
uci commit wireless
|
if [ "$mesh_mesh" = "wifi-iface" ]; then
|
||||||
|
uci delete wireless.mesh_$apall
|
||||||
|
uci commit wireless
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
kvr_stop
|
add_kvr
|
||||||
fi
|
add_dawn
|
||||||
|
|
||||||
if [ "$ap_mode" == 1 ]; then
|
if [ "$ap_mode" == 1 ]; then
|
||||||
ap_mode_stop
|
ap_mode_stop
|
||||||
|
|||||||
@@ -4,14 +4,14 @@ PKG_NAME:=luci-app-jd-dailybonus
|
|||||||
PKG_VERSION:=1.0.6
|
PKG_VERSION:=1.0.6
|
||||||
PKG_RELEASE:=20211016
|
PKG_RELEASE:=20211016
|
||||||
|
|
||||||
define Package/$(PKG_NAME)/conffiles
|
|
||||||
/etc/config/jd-dailybonus
|
|
||||||
endef
|
|
||||||
|
|
||||||
LUCI_TITLE:=Luci for JD dailybonus Script
|
LUCI_TITLE:=Luci for JD dailybonus Script
|
||||||
LUCI_PKGARCH:=all
|
LUCI_PKGARCH:=all
|
||||||
LUCI_DEPENDS:=+node +wget +lua +libuci-lua
|
LUCI_DEPENDS:=+node +wget +lua +libuci-lua
|
||||||
|
|
||||||
|
define Package/$(PKG_NAME)/conffiles
|
||||||
|
/etc/config/jd-dailybonus
|
||||||
|
endef
|
||||||
|
|
||||||
include $(TOPDIR)/feeds/luci/luci.mk
|
include $(TOPDIR)/feeds/luci/luci.mk
|
||||||
|
|
||||||
# call BuildPackage - OpenWrt buildroot signature
|
# call BuildPackage - OpenWrt buildroot signature
|
||||||
|
|||||||
@@ -6,4 +6,4 @@ t = log:field(DummyValue, '', '')
|
|||||||
t.rawhtml = true
|
t.rawhtml = true
|
||||||
t.template = 'jd-dailybonus/log'
|
t.template = 'jd-dailybonus/log'
|
||||||
|
|
||||||
return log
|
return log
|
||||||
|
|||||||
@@ -59,4 +59,4 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
<%+cbi/valuefooter%>
|
<%+cbi/valuefooter%>
|
||||||
|
|||||||
@@ -11,4 +11,4 @@ config global
|
|||||||
option auto_run_time '0'
|
option auto_run_time '0'
|
||||||
option auto_run_time_m '1'
|
option auto_run_time_m '1'
|
||||||
option auto_run_time_h '1'
|
option auto_run_time_h '1'
|
||||||
list Cookies '双击扫码添加 Cookie 数据'
|
list Cookies '双击扫码添加 Cookie 数据'
|
||||||
|
|||||||
@@ -28,4 +28,4 @@ stop_service() {
|
|||||||
|
|
||||||
service_triggers() {
|
service_triggers() {
|
||||||
procd_add_reload_trigger "jd-dailybonus"
|
procd_add_reload_trigger "jd-dailybonus"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
/usr/share/jd-dailybonus/CookieSet.json
|
/usr/share/jd-dailybonus/CookieSet.json
|
||||||
/usr/share/jd-dailybonus/JD_DailyBonus.js
|
/usr/share/jd-dailybonus/JD_DailyBonus.js
|
||||||
|
|||||||
@@ -25,4 +25,4 @@ end
|
|||||||
|
|
||||||
data.CookiesJD = json.stringify( data.CookiesJD )
|
data.CookiesJD = json.stringify( data.CookiesJD )
|
||||||
|
|
||||||
write_json('/usr/share/jd-dailybonus/CookieSet.json', data)
|
write_json('/usr/share/jd-dailybonus/CookieSet.json', data)
|
||||||
|
|||||||
@@ -8,4 +8,4 @@
|
|||||||
"uci": [ "jd-dailybonus" ]
|
"uci": [ "jd-dailybonus" ]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
40
naiveproxy/patches/001-Remove-concurrency-limit.patch
Normal file
40
naiveproxy/patches/001-Remove-concurrency-limit.patch
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
From f1a49736010170a70123db07ca41256ba92c0002 Mon Sep 17 00:00:00 2001
|
||||||
|
From: klzgrad <kizdiv@gmail.com>
|
||||||
|
Date: Sat, 3 Oct 2020 08:54:59 +0800
|
||||||
|
Subject: [PATCH] Remove concurrency limit
|
||||||
|
|
||||||
|
---
|
||||||
|
src/net/tools/naive/naive_proxy.cc | 3 +--
|
||||||
|
src/net/tools/naive/naive_proxy_bin.cc | 2 +-
|
||||||
|
2 files changed, 2 insertions(+), 3 deletions(-)
|
||||||
|
|
||||||
|
--- a/src/net/tools/naive/naive_proxy.cc
|
||||||
|
+++ b/src/net/tools/naive/naive_proxy.cc
|
||||||
|
@@ -5,7 +5,6 @@
|
||||||
|
|
||||||
|
#include "net/tools/naive/naive_proxy.h"
|
||||||
|
|
||||||
|
-#include <algorithm>
|
||||||
|
#include <utility>
|
||||||
|
|
||||||
|
#include "base/bind.h"
|
||||||
|
@@ -39,7 +38,7 @@ NaiveProxy::NaiveProxy(std::unique_ptr<S
|
||||||
|
protocol_(protocol),
|
||||||
|
listen_user_(listen_user),
|
||||||
|
listen_pass_(listen_pass),
|
||||||
|
- concurrency_(std::min(4, std::max(1, concurrency))),
|
||||||
|
+ concurrency_(concurrency),
|
||||||
|
resolver_(resolver),
|
||||||
|
session_(session),
|
||||||
|
net_log_(
|
||||||
|
--- a/src/net/tools/naive/naive_proxy_bin.cc
|
||||||
|
+++ b/src/net/tools/naive/naive_proxy_bin.cc
|
||||||
|
@@ -296,7 +296,7 @@ bool ParseCommandLine(const CommandLine&
|
||||||
|
|
||||||
|
if (!cmdline.concurrency.empty()) {
|
||||||
|
if (!base::StringToInt(cmdline.concurrency, ¶ms->concurrency) ||
|
||||||
|
- params->concurrency < 1 || params->concurrency > 4) {
|
||||||
|
+ params->concurrency < 1) {
|
||||||
|
std::cerr << "Invalid concurrency" << std::endl;
|
||||||
|
return false;
|
||||||
|
}
|
||||||
@@ -53,6 +53,7 @@ config TROJAN_GO_COMPRESS_GOPROXY
|
|||||||
|
|
||||||
config TROJAN_GO_COMPRESS_UPX
|
config TROJAN_GO_COMPRESS_UPX
|
||||||
bool "Compress executable files with UPX"
|
bool "Compress executable files with UPX"
|
||||||
|
depends on @!mips64
|
||||||
default y
|
default y
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|||||||
@@ -104,6 +104,7 @@ config V2RAY_CORE_COMPRESS_GOPROXY
|
|||||||
|
|
||||||
config V2RAY_CORE_COMPRESS_UPX
|
config V2RAY_CORE_COMPRESS_UPX
|
||||||
bool "Compress executable files with UPX"
|
bool "Compress executable files with UPX"
|
||||||
|
depends on @!mips64
|
||||||
default y
|
default y
|
||||||
endmenu
|
endmenu
|
||||||
endef
|
endef
|
||||||
@@ -118,6 +119,7 @@ config V2RAY_CTL_COMPRESS_GOPROXY
|
|||||||
|
|
||||||
config V2RAY_CTL_COMPRESS_UPX
|
config V2RAY_CTL_COMPRESS_UPX
|
||||||
bool "Compress executable files with UPX"
|
bool "Compress executable files with UPX"
|
||||||
|
depends on @!mips64
|
||||||
default y
|
default y
|
||||||
endmenu
|
endmenu
|
||||||
endef
|
endef
|
||||||
|
|||||||
@@ -28,7 +28,9 @@ GO_PKG:=github.com/shadowsocks/v2ray-plugin
|
|||||||
GO_PKG_LDFLAGS:=-s -w
|
GO_PKG_LDFLAGS:=-s -w
|
||||||
GO_PKG_LDFLAGS_X:=main.VERSION=v$(PKG_VERSION)
|
GO_PKG_LDFLAGS_X:=main.VERSION=v$(PKG_VERSION)
|
||||||
|
|
||||||
PKG_CONFIG_DEPENDS := CONFIG_$(PKG_NAME)_INCLUDE_GOPROXY
|
PKG_CONFIG_DEPENDS := \
|
||||||
|
CONFIG_$(PKG_NAME)_INCLUDE_GOPROXY \
|
||||||
|
CONFIG_$(PKG_NAME)_COMPRESS_UPX
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
include $(TOPDIR)/feeds/packages/lang/golang/golang-package.mk
|
include $(TOPDIR)/feeds/packages/lang/golang/golang-package.mk
|
||||||
@@ -38,6 +40,10 @@ config $(PKG_NAME)_INCLUDE_GOPROXY
|
|||||||
bool "Compiling with GOPROXY proxy"
|
bool "Compiling with GOPROXY proxy"
|
||||||
default n
|
default n
|
||||||
|
|
||||||
|
config $(PKG_NAME)_COMPRESS_UPX
|
||||||
|
bool "Compress executable files with UPX"
|
||||||
|
depends on @!mips64
|
||||||
|
default y
|
||||||
endef
|
endef
|
||||||
|
|
||||||
ifeq ($(CONFIG_$(PKG_NAME)_INCLUDE_GOPROXY),y)
|
ifeq ($(CONFIG_$(PKG_NAME)_INCLUDE_GOPROXY),y)
|
||||||
@@ -60,7 +66,9 @@ endef
|
|||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(call GoPackage/Build/Compile)
|
$(call GoPackage/Build/Compile)
|
||||||
|
ifneq ($(CONFIG_$(PKG_NAME)_COMPRESS_UPX),)
|
||||||
$(STAGING_DIR_HOST)/bin/upx --lzma --best $(GO_PKG_BUILD_BIN_DIR)/v2ray-plugin
|
$(STAGING_DIR_HOST)/bin/upx --lzma --best $(GO_PKG_BUILD_BIN_DIR)/v2ray-plugin
|
||||||
|
endif
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/$(PKG_NAME)/install
|
define Package/$(PKG_NAME)/install
|
||||||
|
|||||||
@@ -94,6 +94,7 @@ config XRAY_CORE_COMPRESS_GOPROXY
|
|||||||
|
|
||||||
config XRAY_CORE_COMPRESS_UPX
|
config XRAY_CORE_COMPRESS_UPX
|
||||||
bool "Compress executable files with UPX"
|
bool "Compress executable files with UPX"
|
||||||
|
depends on @!mips64
|
||||||
default y
|
default y
|
||||||
endmenu
|
endmenu
|
||||||
endef
|
endef
|
||||||
|
|||||||
@@ -46,6 +46,7 @@ config XRAY_PLUGIN_COMPRESS_GOPROXY
|
|||||||
|
|
||||||
config XRAY_PLUGIN_COMPRESS_UPX
|
config XRAY_PLUGIN_COMPRESS_UPX
|
||||||
bool "Compress executable files with UPX"
|
bool "Compress executable files with UPX"
|
||||||
|
depends on @!mips64
|
||||||
default y
|
default y
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user