luci ssr plus: don't encrypt all lua

This commit is contained in:
coolsnowwolf 2018-12-03 22:30:56 +08:00
parent 3e549d67ec
commit 927c573531

View File

@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=luci-app-ssr-plus
PKG_VERSION:=1
PKG_RELEASE:=65
PKG_RELEASE:=66
PO2LMO:=$(STAGING_DIR_HOSTPKG)/bin/po2lmo
@ -63,8 +63,6 @@ define Package/luci-app-ssr-plus/install
cp -pR ./root/* $(1)/
$(INSTALL_DIR) $(1)/usr/lib/lua/luci/i18n
$(PO2LMO) ./po/zh-cn/ssr-plus.po $(1)/usr/lib/lua/luci/i18n/ssr-plus.zh-cn.lmo
find $(1) -name *.lua -exec luac -s -o {} {} \;
endef
define Package/luci-app-ssr-plus/postinst