From 3255a69719ee6fa9786d8c0b518cf431f942ee73 Mon Sep 17 00:00:00 2001 From: CN_SZTL Date: Sun, 6 Dec 2020 12:53:51 +0800 Subject: [PATCH] luci-app-v2ray-server: use xray by default --- package/lean/luci-app-v2ray-server/Makefile | 4 +--- .../luci-app-v2ray-server/luasrc/view/v2ray_server/v2ray.htm | 4 ++-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/package/lean/luci-app-v2ray-server/Makefile b/package/lean/luci-app-v2ray-server/Makefile index dbdae4d037..33c3077211 100644 --- a/package/lean/luci-app-v2ray-server/Makefile +++ b/package/lean/luci-app-v2ray-server/Makefile @@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk LUCI_TITLE:=LuCI support for V2ray Server -LUCI_DEPENDS:=+v2ray +LUCI_DEPENDS:=+xray LUCI_PKGARCH:=all PKG_VERSION:=1.1 PKG_RELEASE:=5 @@ -14,5 +14,3 @@ PKG_RELEASE:=5 include $(TOPDIR)/feeds/luci/luci.mk # call BuildPackage - OpenWrt buildroot signature - - diff --git a/package/lean/luci-app-v2ray-server/luasrc/view/v2ray_server/v2ray.htm b/package/lean/luci-app-v2ray-server/luasrc/view/v2ray_server/v2ray.htm index acfa3023a0..93bd1870d5 100644 --- a/package/lean/luci-app-v2ray-server/luasrc/view/v2ray_server/v2ray.htm +++ b/package/lean/luci-app-v2ray-server/luasrc/view/v2ray_server/v2ray.htm @@ -1,5 +1,5 @@ <% -local v2ray_version=luci.sys.exec("[ -f '/usr/bin/v2ray/v2ray' ] && /usr/bin/v2ray/v2ray -version | awk '{print $2}' | sed -n 1P") +local v2ray_version=luci.sys.exec("[ -f '/usr/bin/v2ray' ] && /usr/bin/v2ray -version | awk '{print $2}' | sed -n 1P") local dsp = require "luci.dispatcher" -%> @@ -179,4 +179,4 @@ local dsp = require "luci.dispatcher" - \ No newline at end of file +