Update luci-app-store.patch

This commit is contained in:
kiddin9 authored and GitHub committed 2026-10-07 01:44:58 +08:00
1 parent 09331d5c64
commit 6a9313a039
1 file changed
+13 -2
+13 -2
View File
@@ -16,16 +16,27 @@
--- a/luci-app-store/luasrc/controller/store.lua
+++ b/luci-app-store/luasrc/controller/store.lua
@@ -14,7 +14,8 @@ function index()
@@ -3,7 +3,7 @@ module("luci.controller.store", package.seeall)
local myopkg = "is-opkg"
local is_backup = "/usr/libexec/istore/backup"
local is_overlay_backup = "/usr/libexec/istore/overlay-backup"
-local page_index = {"admin", "store", "pages"}
+local page_index = {"admin", "services", "store", "pages"}
function index()
local function store_api(action, onlypost)
@@ -14,8 +14,9 @@ function index()
local action
- entry({"admin", "store"}, call("redirect_index"), _("iStore"), 31)
- entry({"admin", "store", "pages"}, call("store_index")).leaf = true
+ entry({"admin", "store"}, call("redirect_index"))
+ entry({"admin", "services", "store"}, call("redirect_index"), _("iStore"), 31).dependent = true
entry({"admin", "store", "pages"}, call("store_index")).leaf = true
+ entry({"admin", "services", "store", "pages"}, call("store_index")).leaf = true
if nixio.fs.access("/usr/lib/lua/luci/view/store/main_dev.htm") then
entry({"admin", "store", "dev"}, call("store_dev")).leaf = true
end
--- a/luci-app-store/src/root-opkg/etc/opkg/compatfeeds.conf
+++ b/luci-app-store/src/root-opkg/etc/opkg/compatfeeds.conf