update 03-19 20:31

This commit is contained in:
github-actions[bot] 2022-03-19 20:31:23 +08:00
parent a13bfbdb89
commit 0738bbb43c
5 changed files with 30 additions and 4 deletions

View File

@ -6,12 +6,12 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=UnblockNeteaseMusic
PKG_BASE_VERSION:=0.27.0-rc.4
PKG_RELEASE:=99
PKG_RELEASE:=100
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/UnblockNeteaseMusic/server.git
PKG_SOURCE_DATE:=2021-12-21
PKG_SOURCE_VERSION:=729bd0527655cb2696110c7c0d244a6eb297be8f
PKG_SOURCE_VERSION:=6cfe05e37049780ad43a65dbf72c602e3b82f341
PKG_MIRROR_HASH:=skip
PKG_VERSION:=$(PKG_BASE_VERSION)-$(PKG_SOURCE_DATE)-$(call version_abbrev,$(PKG_SOURCE_VERSION))

View File

@ -52,7 +52,7 @@ if [ "$C" = gfw -o "$(uci -q get bypass.@global[0].gfw_mode)" = 1 ];then
while ! (curl -kLfsm 3 -o /tmp/gfw.b64 https://op.supes.top/gfwlist.txt || curl -kLfsm 5 -o /tmp/gfw.b64 https://cdn.jsdelivr.net/gh/gfwlist/gfwlist/gfwlist.txt);do
sleep 1
done
elif [ "$C" = gfw ];then
elif [ "$C" = gfw -o $A = N ];then
curl -kLfsm 3 -o /tmp/gfw.b64 https://op.supes.top/gfwlist.txt || curl -kLfsm 5 -o /tmp/gfw.b64 https://cdn.jsdelivr.net/gh/gfwlist/gfwlist/gfwlist.txt
fi
if [[ -f /tmp/gfw.b64 && $? == 0 ]];then

View File

@ -9,7 +9,7 @@ LUCI_TITLE:=LuCI support for quickstart
LUCI_DEPENDS:=+quickstart +shadow-utils +shadow-useradd +luci-app-store
LUCI_PKGARCH:=all
PKG_VERSION:=0.3.1-2
PKG_VERSION:=0.3.1-3
# PKG_RELEASE MUST be empty for luci.mk
PKG_RELEASE:=

View File

@ -0,0 +1,16 @@
<html>
<head>
<meta http-equiv="refresh" content="0; url=<%=url('admin/quickstart/pages')%>" />
<script type="text/javascript">
function onload() {
setTimeout(function(){
localtion.href="<%=url('admin/quickstart/pages')%>";
document.body.style.display='block';
},1000);
}
</script>
</head>
<body style="display:none" onload="onload">
Landing to <a href="<%=url('admin/quickstart/pages')%>">main page</a>
</body>
</html>

View File

@ -0,0 +1,10 @@
{
"admin/quickstart": {
"title": "QuickStart",
"order": 1,
"action": {
"type": "template",
"path": "quickstart/landing"
}
}
}