From 003c64d07f92b9cb94c1187b090e4ad4cd7fe074 Mon Sep 17 00:00:00 2001 From: kiddin9 <48883331+kiddin9@users.noreply.github.com> Date: Thu, 17 Sep 2026 14:23:44 +0800 Subject: [PATCH] Update quickstart.patch --- .github/diy/patches/quickstart.patch | 32 ++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/.github/diy/patches/quickstart.patch b/.github/diy/patches/quickstart.patch index 01ec7a8e8..33a6f6221 100644 --- a/.github/diy/patches/quickstart.patch +++ b/.github/diy/patches/quickstart.patch @@ -21,3 +21,35 @@ entry({"admin", "network_guide"}, call("networkguide_index"), _("NetworkGuide"), 2) entry({"admin", "network_guide", "pages"}, call("quickstart_index", {index={"admin", "network_guide", "pages"}})).leaf = true if uci:get("quickstart", "main", "wifi_menu") == "1" then +diff --git a/luci-app-quickstart/root/usr/share/luci/menu.d/luci-app-quickstart.json b/luci-app-quickstart/root/usr/share/luci/menu.d/luci-app-quickstart.json +deleted file mode 100644 +index d1667bb..0000000 +--- a/luci-app-quickstart/root/usr/share/luci/menu.d/luci-app-quickstart.json ++++ /dev/null +@@ -1,10 +0,0 @@ +-{ +- "admin/quickstart/*": { +- "title": "QuickStart", +- "order": 1, +- "action": { +- "type": "template", +- "path": "quickstart/home" +- } +- } +-} +\ No newline at end of file +diff --git a/luci-app-quickstart/root/usr/share/luci/menu.d/zz-luci-app-quickstart.json b/luci-app-quickstart/root/usr/share/luci/menu.d/zz-luci-app-quickstart.json +new file mode 100644 +index 0000000..f97d1f1 +--- /dev/null ++++ b/luci-app-quickstart/root/usr/share/luci/menu.d/zz-luci-app-quickstart.json +@@ -0,0 +1,9 @@ ++{ ++ "admin/dashboard": { ++ "depends": { ++ "uci": { ++ "disabled_by_quickstart": true ++ } ++ } ++ } ++}