mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
luci-app-jd-dailybonus: minor adjustments (#8113)
Signed-off-by: Beginner-Go <70857188+Beginner-Go@users.noreply.github.com>
This commit is contained in:
parent
f0b639bb51
commit
26afd3e54d
@ -4,14 +4,14 @@ PKG_NAME:=luci-app-jd-dailybonus
|
|||||||
PKG_VERSION:=1.0.6
|
PKG_VERSION:=1.0.6
|
||||||
PKG_RELEASE:=20211016
|
PKG_RELEASE:=20211016
|
||||||
|
|
||||||
define Package/$(PKG_NAME)/conffiles
|
|
||||||
/etc/config/jd-dailybonus
|
|
||||||
endef
|
|
||||||
|
|
||||||
LUCI_TITLE:=Luci for JD dailybonus Script
|
LUCI_TITLE:=Luci for JD dailybonus Script
|
||||||
LUCI_PKGARCH:=all
|
LUCI_PKGARCH:=all
|
||||||
LUCI_DEPENDS:=+node +wget +lua +libuci-lua
|
LUCI_DEPENDS:=+node +wget +lua +libuci-lua
|
||||||
|
|
||||||
|
define Package/$(PKG_NAME)/conffiles
|
||||||
|
/etc/config/jd-dailybonus
|
||||||
|
endef
|
||||||
|
|
||||||
include $(TOPDIR)/feeds/luci/luci.mk
|
include $(TOPDIR)/feeds/luci/luci.mk
|
||||||
|
|
||||||
# call BuildPackage - OpenWrt buildroot signature
|
# call BuildPackage - OpenWrt buildroot signature
|
||||||
|
@ -6,4 +6,4 @@ t = log:field(DummyValue, '', '')
|
|||||||
t.rawhtml = true
|
t.rawhtml = true
|
||||||
t.template = 'jd-dailybonus/log'
|
t.template = 'jd-dailybonus/log'
|
||||||
|
|
||||||
return log
|
return log
|
||||||
|
@ -59,4 +59,4 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
<%+cbi/valuefooter%>
|
<%+cbi/valuefooter%>
|
||||||
|
@ -11,4 +11,4 @@ config global
|
|||||||
option auto_run_time '0'
|
option auto_run_time '0'
|
||||||
option auto_run_time_m '1'
|
option auto_run_time_m '1'
|
||||||
option auto_run_time_h '1'
|
option auto_run_time_h '1'
|
||||||
list Cookies '双击扫码添加 Cookie 数据'
|
list Cookies '双击扫码添加 Cookie 数据'
|
||||||
|
@ -28,4 +28,4 @@ stop_service() {
|
|||||||
|
|
||||||
service_triggers() {
|
service_triggers() {
|
||||||
procd_add_reload_trigger "jd-dailybonus"
|
procd_add_reload_trigger "jd-dailybonus"
|
||||||
}
|
}
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
/usr/share/jd-dailybonus/CookieSet.json
|
/usr/share/jd-dailybonus/CookieSet.json
|
||||||
/usr/share/jd-dailybonus/JD_DailyBonus.js
|
/usr/share/jd-dailybonus/JD_DailyBonus.js
|
||||||
|
@ -25,4 +25,4 @@ end
|
|||||||
|
|
||||||
data.CookiesJD = json.stringify( data.CookiesJD )
|
data.CookiesJD = json.stringify( data.CookiesJD )
|
||||||
|
|
||||||
write_json('/usr/share/jd-dailybonus/CookieSet.json', data)
|
write_json('/usr/share/jd-dailybonus/CookieSet.json', data)
|
||||||
|
@ -8,4 +8,4 @@
|
|||||||
"uci": [ "jd-dailybonus" ]
|
"uci": [ "jd-dailybonus" ]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user