diff --git a/luci-app-openclash/Makefile b/luci-app-openclash/Makefile index e8fa311932..d3a8c88030 100644 --- a/luci-app-openclash/Makefile +++ b/luci-app-openclash/Makefile @@ -1,7 +1,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=luci-app-openclash -PKG_VERSION:=0.46.056 +PKG_VERSION:=0.46.057 PKG_MAINTAINER:=vernesong PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME) diff --git a/luci-app-openclash/luasrc/controller/openclash.lua b/luci-app-openclash/luasrc/controller/openclash.lua index d9b5c83eaa..36bf3aa622 100644 --- a/luci-app-openclash/luasrc/controller/openclash.lua +++ b/luci-app-openclash/luasrc/controller/openclash.lua @@ -203,7 +203,7 @@ local function startlog() return line_trans end -local funciton pkg_type() +local function pkg_type() if fs.access("/usr/bin/apk") then return "apk" else