mirror of
https://github.com/lkeme/BiliHelper-personal.git
synced 2025-12-18 08:40:05 +08:00
[update] Version 2.0.0.*
This commit is contained in:
parent
e37434e3c8
commit
7fd6f95d13
18
.editorconfig
Normal file
18
.editorconfig
Normal file
@ -0,0 +1,18 @@
|
||||
root = true
|
||||
|
||||
[*]
|
||||
charset = utf-8
|
||||
end_of_line = lf
|
||||
insert_final_newline = true
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
trim_trailing_whitespace = true
|
||||
|
||||
[*.md]
|
||||
trim_trailing_whitespace = false
|
||||
|
||||
[*.{yml,yaml}]
|
||||
indent_size = 2
|
||||
|
||||
[docker-compose.yml]
|
||||
indent_size = 4
|
||||
136
README.md
Normal file
136
README.md
Normal file
@ -0,0 +1,136 @@
|
||||
<p align="center"><img width="300px" src="https://user-images.githubusercontent.com/19500576/118621710-36428180-b7f9-11eb-891d-3f5697347cef.png"></p>
|
||||
|
||||
[//]: # (<p align="center"><img width="300px" src="https://i.loli.net/2018/04/20/5ad97bd395912.jpeg"></p>)
|
||||
|
||||
<div align="center">
|
||||
|
||||
[](https://github.com/lkeme/ )
|
||||

|
||||

|
||||

|
||||

|
||||

|
||||
[](https://hub.docker.com/r/lkeme/bilihelper-personal)
|
||||
|
||||
</div>
|
||||
|
||||
<p align="center">
|
||||
|
||||
<img src="https://img.shields.io/badge/Version-2.0.0.220822-orange.svg?longCache=true&style=for-the-badge">
|
||||
<img src="https://img.shields.io/badge/PHP-8.0+-green.svg?longCache=true&style=for-the-badge">
|
||||
<img src="https://img.shields.io/badge/Composer-latest-blueviolet.svg?longCache=true&style=for-the-badge">
|
||||
<img src="https://img.shields.io/badge/License-mit-blue.svg?longCache=true&style=for-the-badge">
|
||||
|
||||
</p>
|
||||
|
||||
## 🌟 临时通知
|
||||
|
||||
- [【master分支 版本2.x.x】](https://github.com/lkeme/BiliHelper-personal/tree/master) 功能缺失但不断开发中(提供基础功能)
|
||||
- [【1.x.x分支 版本1.x.x】](https://github.com/lkeme/BiliHelper-personal/tree/1.x.x) 功能完整但不后续维护(当前推荐)
|
||||
|
||||
## 📌 公告通知
|
||||
|
||||
代码开源,本地化99.9%,项目不收集或使用任何敏感信息,兴趣所致,一切只为学习。
|
||||
|
||||
```notice
|
||||
---- 免费的东西总是得不到人的珍惜。
|
||||
---- 只有花大价钱去买到的东西,才会令人信任。
|
||||
---- 本项目仅供学习交流使用,请勿用于非法用途!* 3
|
||||
```
|
||||
|
||||
## 👤 游客访问
|
||||
|
||||
<p align="center">
|
||||
<img alingn="center" src="https://profile-counter.glitch.me/BiliHelper-personal/count.svg" />
|
||||
</p>
|
||||
|
||||
## 🖨️ 相关文档
|
||||
|
||||
有疑问一定要先看看文档或Issue里是否存在相同的问题,再考虑其他渠道咨询。
|
||||
|
||||
* [使用文档 / DOC.md](./dosc/DOC.md)
|
||||
* [推送文档 / NOTIFY.md](./docs/NOTIFY.md)
|
||||
* [更新日志 / CHANGELOG.md](./docs/CHANGELOG.md)
|
||||
* [配置文档 / WIKI.md](https://github.com/lkeme/BiliHelper-personal/wiki/%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6%E8%AF%A6%E8%A7%A3)
|
||||
* [常见问题 / WIKI.md](https://github.com/lkeme/BiliHelper-personal/wiki/%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98)
|
||||
* [关于项目 / ABOUT.md](./docs/ABOUT.md)
|
||||
|
||||
## 🎁 打赏支持
|
||||
|
||||
如果觉得本项目好用,对你有所帮助,欢迎打赏支持本项目,请作者喝杯奶茶可乐哦。
|
||||
|
||||
<p align="center"><img width="680px" src="https://user-images.githubusercontent.com/19500576/118621834-55d9aa00-b7f9-11eb-9de2-6cfd5e8f20e6.png"></p>
|
||||
|
||||
[comment]: <> ()
|
||||
|
||||
[comment]: <> (:cherry_blossom: :gift: :gift_heart: :confetti_ball:)
|
||||
|
||||
## 💬 交流反馈
|
||||
|
||||
Group: [602815575](https://jq.qq.com/?_wv=1027&k=UaalVexM) | **请不要来问如何使用, 文档齐全, 仅用于BUG提交反馈**
|
||||
|
||||
## 🧑🏭功能组件
|
||||
|
||||
以下任务都是按设定周期自动执行,`true`为正常使用,`false`为暂停使用或抛弃。
|
||||
|
||||
<details open>
|
||||
<summary>点击展开</summary>
|
||||
|
||||
| plugin | version | description | author | pid | cycle | status |
|
||||
|-----------------|---------|--------------------------|--------|------|-------------|--------|
|
||||
| CheckUpdate | 0.0.1 | 检查版本更新 | Lkeme | 1000 | 24(小时) | √ |
|
||||
| Login | 0.0.1 | 账号登录、刷新、保活 | Lkeme | 1001 | 2(小时) | √ |
|
||||
| MainSite | 0.0.1 | 主站任务(观看\分享\投币) | Lkeme | 1100 | 24(小时) | √ |
|
||||
| Manga | 0.0.1 | 漫画签到/分享 | Lkeme | 1101 | 24(小时) | √ |
|
||||
| LoveClub | 0.0.1 | 友爱社签到 | Lkeme | 1102 | 24(小时) | √ |
|
||||
| LiveSignIn | 0.0.1 | 直播签到 | Lkeme | 1103 | 24(小时) | √ |
|
||||
| GameForecast | 0.0.1 | 游戏赛事预测(破产机) | Lkeme | 1104 | 24(小时) | √ |
|
||||
| Silver2Coin | 0.0.1 | 银瓜子兑换硬币 | Lkeme | 1105 | 24(小时) | √ |
|
||||
| Judge | 0.0.1 | 風機委員投票 | Lkeme | 1106 | 15-30(分钟) | √ |
|
||||
| VipPrivilege | 0.0.1 | 领取大会员权益 | Lkeme | 1107 | 24(小时) | √ |
|
||||
| BpConsumption | 0.0.1 | 大会员B币券消费 | Lkeme | 1108 | 24(小时) | √ |
|
||||
| LiveReservation | 0.0.1 | 预约直播有奖 | Lkeme | 1109 | 1-3(小时) | √ |
|
||||
| LiveGoldBox | 0.0.1 | 直播金色宝箱(实物抽奖) | Lkeme | 1110 | 6-10(分钟) | √ |
|
||||
|
||||
</details>
|
||||
|
||||
## 🖥️星图
|
||||
|
||||
[](https://starchart.cc/lkeme/BiliHelper-personal)
|
||||
[](https://starchart.cc/lkeme/BiliHelper)
|
||||
|
||||
|
||||
## 🤭 运行效果
|
||||
|
||||
效果图不代表当前版本,请以当前最新版本运行结果为准。
|
||||
|
||||
<p align="center"><img width="680px" src="https://user-images.githubusercontent.com/19500576/118621918-6853e380-b7f9-11eb-8c73-e041c402a56b.png"></p>
|
||||
|
||||
[comment]: <> ()
|
||||
|
||||
## 🪣 项目相关
|
||||
|
||||
* [BilibiliHelper](https://github.com/metowolf/BilibiliHelper)
|
||||
* [BiliHelper](https://github.com/lkeme/BiliHelper)
|
||||
* [Github](https://github.com/)
|
||||
|
||||
## 🙏 致谢
|
||||
|
||||
感谢 `JetBrains` 提供优秀的IDE。
|
||||
|
||||
<a href="https://www.jetbrains.com/?from=BiliHelper-personal" target="_blank">
|
||||
<img src="https://tva1.sinaimg.cn/large/008eGmZEly1gov9g3tzrnj30u00wj0tn.jpg" width="150"/>
|
||||
</a>
|
||||
|
||||
## 🪪 License
|
||||
|
||||
BiliHelper is under the MIT license.
|
||||
|
||||
本项目基于 MIT 协议发布,并增加了 SATA 协议。
|
||||
|
||||
当你使用了使用 SATA 的开源软件或文档的时候,在遵守基础许可证的前提下,你必须马不停蹄地给你所使用的开源项目 “点赞” ,比如在 GitHub 上
|
||||
star,然后你必须感谢这个帮助了你的开源项目的作者,作者信息可以在许可证头部的版权声明部分找到。
|
||||
|
||||
本项目的所有代码文件、配置项,除另有说明外,均基于上述介绍的协议发布,具体请看分支下的 LICENSE。
|
||||
|
||||
此处的文字仅用于说明,条款以 LICENSE 文件中的内容为准。
|
||||
@ -2,7 +2,7 @@
|
||||
"name": "lkeme/bilihelper-personal",
|
||||
"description": "B 站自动领瓜子、直播助手、直播挂机脚本、主站助手 - PHP 版(Personal)",
|
||||
"type": "project",
|
||||
"version": "1.0.0-dev",
|
||||
"version": "2.*.*-dev",
|
||||
"minimum-stability": "stable",
|
||||
"license": "MIT",
|
||||
"authors": [
|
||||
@ -62,7 +62,8 @@
|
||||
"guzzlehttp/guzzle": "^7.4",
|
||||
"toolkit/pflag": "^2.0",
|
||||
"symfony/console": "^6.1",
|
||||
"malios/php-to-ascii-table": "^3.0"
|
||||
"malios/php-to-ascii-table": "^3.0",
|
||||
"clue/socket-raw": "1.6"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
|
||||
56
docker/Dockerfile
Normal file
56
docker/Dockerfile
Normal file
@ -0,0 +1,56 @@
|
||||
FROM php:alpine
|
||||
|
||||
#MAINTAINER zsnmwy <szlszl35622@gmail.com>
|
||||
LABEL AUTHOR = "Lkeme <Useri@live.cn>"
|
||||
|
||||
ENV USER_NAME='' \
|
||||
USER_PASSWORD='' \
|
||||
REPO_URL='https://github.com/' \
|
||||
CUSTOM_CLONE_URL='https://speed.example.com/example/example.git' \
|
||||
MIRRORS="0" \
|
||||
CONIFG_PATH='/app/profile/user/config/user.ini' \
|
||||
Green="\\033[32m" \
|
||||
Red="\\033[31m" \
|
||||
GreenBG="\\033[42;37m" \
|
||||
RedBG="\\033[41;37m" \
|
||||
Font="\\033[0m" \
|
||||
Green_font_prefix="\\033[32m" \
|
||||
Green_background_prefix="\\033[42;37m" \
|
||||
Font_color_suffix="\\033[0m" \
|
||||
Info="${Green}[信息]${Font}" \
|
||||
OK="${Green}[OK]${Font}" \
|
||||
Error="${Red}[错误]${Font}"
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories
|
||||
#RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apk/repositories
|
||||
RUN docker-php-ext-install sockets
|
||||
|
||||
#RUN if [ "${CN}" = true ]; then export REPO_URL="https://github.com.cnpmjs.org"; fi
|
||||
|
||||
#RUN set -ex \
|
||||
# && ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
|
||||
# && echo "Asia/Shanghai" > /etc/timezone \
|
||||
|
||||
# Change timezone
|
||||
RUN set -x; \
|
||||
ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime; \
|
||||
echo Asia/Shanghais > /etc/timezone
|
||||
|
||||
# composer
|
||||
#RUN curl https://mirrors.aliyun.com/composer/composer.phar -s -S -o /usr/local/bin/composer && \
|
||||
# chmod +x /usr/local/bin/composer && composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/
|
||||
#ENV PATH=/root/.composer/vendor/bin:$PATH
|
||||
|
||||
RUN apk add --no-cache git && \
|
||||
git clone ${REPO_URL}/lkeme/BiliHelper-personal.git --depth=1 /app && \
|
||||
cp -f /app/docker/entrypoint.sh /usr/local/bin/entrypoint.sh && \
|
||||
chmod 777 /usr/local/bin/entrypoint.sh && \
|
||||
php -r "copy('https://install.phpcomposer.com/installer', 'composer-setup.php');" && \
|
||||
php composer-setup.php && \
|
||||
php composer.phar install && \
|
||||
rm -r /var/cache/apk && \
|
||||
rm -r /usr/share/man
|
||||
|
||||
ENTRYPOINT ["entrypoint.sh"]
|
||||
71
docker/entrypoint.sh
Normal file
71
docker/entrypoint.sh
Normal file
@ -0,0 +1,71 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
# 源切换
|
||||
case ${MIRRORS} in
|
||||
"custom")
|
||||
# custom
|
||||
echo -e "\n ======== \n ${Info} ${GreenBG} 切换源-自定义克隆链接 ${Font} \n ======== \n"
|
||||
git remote set-url origin ${CUSTOM_CLONE_URL}
|
||||
;;
|
||||
"0")
|
||||
# https://github.com/
|
||||
echo -e "\n ======== \n ${Info} ${GreenBG} 切换源-github.com ${Font} \n ======== \n"
|
||||
git remote set-url origin https://github.com/lkeme/BiliHelper-personal.git
|
||||
;;
|
||||
"1")
|
||||
# https://ghproxy.com/
|
||||
echo -e "\n ======== \n ${Info} ${GreenBG} 切换源-ghproxy.com ${Font} \n ======== \n"
|
||||
git remote set-url origin https://ghproxy.com/https://github.com/lkeme/BiliHelper-personal.git
|
||||
;;
|
||||
"2")
|
||||
# http://fastgit.org/
|
||||
echo -e "\n ======== \n ${Info} ${GreenBG} 切换源-hub.fastgit.xyz ${Font} \n ======== \n"
|
||||
git remote set-url origin https://hub.fastgit.xyz/lkeme/BiliHelper-personal.git
|
||||
;;
|
||||
"3")
|
||||
# https://hub.gitfast.tk/
|
||||
echo -e "\n ======== \n ${Info} ${GreenBG} 切换源-hub.gitfast.tk ${Font} \n ======== \n"
|
||||
git remote set-url origin https://hub.gitfast.tk/lkeme/BiliHelper-personal.git
|
||||
;;
|
||||
"4")
|
||||
# https://hub.gitslow.tk/
|
||||
echo -e "\n ======== \n ${Info} ${GreenBG} 切换源-hub.gitslow.tk ${Font} \n ======== \n"
|
||||
git remote set-url origin https://hub.gitslow.tk/lkeme/BiliHelper-personal.git
|
||||
;;
|
||||
"5")
|
||||
# https://hub.verge.tk/
|
||||
echo -e "\n ======== \n ${Info} ${GreenBG} 切换源-hub.verge.tk ${Font} \n ======== \n"
|
||||
git remote set-url origin https://hub.verge.tk/lkeme/BiliHelper-personal.git
|
||||
;;
|
||||
"6")
|
||||
# https://gh.api.99988866.xyz/
|
||||
echo -e "\n ======== \n ${Info} ${GreenBG} 切换源-gh.api.99988866.xyz ${Font} \n ======== \n"
|
||||
git remote set-url origin https://gh.api.99988866.xyz/https://github.com/lkeme/BiliHelper-personal.git
|
||||
;;
|
||||
*)
|
||||
echo -e "\n ======== \n ${Info} ${GreenBG} 切换源-github.com ${Font} \n ======== \n"
|
||||
git remote set-url origin https://github.com/lkeme/BiliHelper-personal.git
|
||||
;;
|
||||
esac
|
||||
|
||||
# 拉取更新
|
||||
echo -e "\n ======== \n ${Info} ${GreenBG} 正使用 git pull 同步项目 ${Font} \n ======== \n"
|
||||
git pull
|
||||
|
||||
# 安装依赖
|
||||
echo -e "\n ======== \n ${Info} ${GreenBG} 安装/更新 项目运行依赖 ${Font} \n ======== \n"
|
||||
php composer.phar install
|
||||
echo -e "\n \n \n \n"
|
||||
|
||||
# 判断类型
|
||||
if [[ -f ${CONIFG_PATH} ]]; then
|
||||
echo -e "\n ======== \n ${GreenBG} 正在使用外部配置文件 ${Font} \n ======== \n"
|
||||
else
|
||||
echo -e "${OK} ${GreenBG} 正在使用传入的环境变量进行用户配置。\n 如果需要配置更多选择项,请通过挂载配置文件来传入。具体参考项目中的README。\n https://github.com/lkeme/BiliHelper-personal.git ${Font} \n ======== \n "
|
||||
cp /app/profile/example /app/profile/user
|
||||
sed -i ''"$(cat /app/profile/user/config/user.ini -n | grep "username = \"\"" | awk '{print $1}')"'c '"$(echo "username = \"${USER_NAME}\"")"'' ${CONIFG_PATH}
|
||||
sed -i ''"$(cat /app/profile/user/config/user.ini -n | grep "password = \"\"" | awk '{print $1}')"'c '"$(echo "password = \"${USER_PASSWORD}\"")"'' ${CONIFG_PATH}
|
||||
fi
|
||||
|
||||
php app.php m:a
|
||||
@ -1,2 +1,4 @@
|
||||
## BiliHelper Personal
|
||||
|
||||
哔哩哔哩(Bilibili)B 站主站助手、直播助手、直播抽奖、挂机升级、贴心小棉袄脚本、Lv6 离你仅有一步之遥~ - PHP 版(Personal)
|
||||
|
||||
889
docs/CHANGELOG.md
Normal file
889
docs/CHANGELOG.md
Normal file
@ -0,0 +1,889 @@
|
||||
# Release Notes
|
||||
|
||||
# 本项目Log
|
||||
|
||||
[comment]: <> (<details>)
|
||||
|
||||
[comment]: <> (<summary><strong>更新历史</strong><kbd>latest</kbd></summary>)
|
||||
|
||||
[comment]: <> (</details>)
|
||||
|
||||
## v2.0.0.220822 alpha (2022-08-22)
|
||||
|
||||
### Added
|
||||
|
||||
-
|
||||
|
||||
### Changed
|
||||
|
||||
-
|
||||
|
||||
### Fixed
|
||||
|
||||
-
|
||||
|
||||
### Remarks
|
||||
|
||||
- 全新版本架构改动大,启动方式、配置文件不同,请仔细参考摸索。
|
||||
|
||||
# 历史版本
|
||||
|
||||
<details>
|
||||
<summary><strong>更新历史</strong><kbd>ver 1.*.*.****</kbd></summary>
|
||||
|
||||
## v1.2.0.220517 alpha (2022-05-17)
|
||||
|
||||
### Added
|
||||
|
||||
-
|
||||
|
||||
### Changed
|
||||
|
||||
- 更新设备参数
|
||||
- 优化一波代码
|
||||
- 支持到PHP 8.16
|
||||
- 检查更新周期24小时
|
||||
|
||||
### Fixed
|
||||
|
||||
- 修复检查更新
|
||||
- 修复風機委員
|
||||
-
|
||||
|
||||
### Remarks
|
||||
|
||||
## v1.1.0.220218 alpha (2022-02-18)
|
||||
|
||||
### Added
|
||||
|
||||
-
|
||||
|
||||
### Changed
|
||||
|
||||
-
|
||||
|
||||
### Fixed
|
||||
|
||||
-
|
||||
|
||||
### Remarks
|
||||
|
||||
- 注意文档文件、配置文件有些许改动
|
||||
-
|
||||
|
||||
## v1.0.2.211115 alpha (2021-11-15)
|
||||
|
||||
### Added
|
||||
|
||||
- 添加直播预约有奖
|
||||
- 添加企业微信群机器人推送
|
||||
- 添加企业微信应用消息推送
|
||||
-
|
||||
|
||||
### Changed
|
||||
|
||||
- 清理部分无效活动
|
||||
- 更新系统环境参数
|
||||
- 更新敏感关键字
|
||||
-
|
||||
|
||||
### Fixed
|
||||
|
||||
- 修复登录未知错误
|
||||
-
|
||||
|
||||
### Remarks
|
||||
|
||||
- 注意文档文件、配置文件有些许改动
|
||||
- 注意需要重新进行`composer update`操作
|
||||
- 注意只支持PHP8.* 只支持PHP8.* 只支持PHP8.*
|
||||
-
|
||||
|
||||
## v1.0.1.211014 alpha (2021-10-14)
|
||||
|
||||
### Added
|
||||
|
||||
-
|
||||
|
||||
### Changed
|
||||
|
||||
- 更新部分活动
|
||||
- 更新系统环境参数
|
||||
-
|
||||
|
||||
### Fixed
|
||||
|
||||
- 修复中文用户名运行失败
|
||||
- 修复风纪(未完善,慎用)
|
||||
-
|
||||
|
||||
### Remarks
|
||||
|
||||
- 注意文档文件有些许改动
|
||||
- 注意需要重新进行`composer update`操作
|
||||
- 注意只支持PHP8.* 只支持PHP8.* 只支持PHP8.*
|
||||
-
|
||||
|
||||
## v1.0.0.210822 alpha (2021-08-22)
|
||||
|
||||
### Added
|
||||
|
||||
- 支持自定义设备
|
||||
- 全面支持PHP8.0
|
||||
- 支持本地缓存
|
||||
- 对使用体验进行了一轮优化并解决了一些bug~~
|
||||
-
|
||||
|
||||
### Changed
|
||||
|
||||
- PHP版本提升值8.*, 不向下兼容
|
||||
- 对使用体验进行了一轮优化并解决了一些bug~~
|
||||
-
|
||||
|
||||
### Fixed
|
||||
|
||||
- 对使用体验进行了一轮优化并解决了一些bug~~
|
||||
-
|
||||
|
||||
### Remarks
|
||||
|
||||
- 注意文档文件有些许改动
|
||||
- 注意需要重新进行`composer update`操作
|
||||
- 注意只支持PHP8.* 只支持PHP8.* 只支持PHP8.*
|
||||
-
|
||||
|
||||
## v0.9.9.210807 alpha (2021-08-07)
|
||||
|
||||
### Added
|
||||
|
||||
-
|
||||
|
||||
### Changed
|
||||
|
||||
- 更新基础环境参数
|
||||
-
|
||||
|
||||
### Fixed
|
||||
|
||||
- 修复独立监控内存溢出
|
||||
- 修复天选之人统计数据不正确
|
||||
- 修复扭蛋活动只观看第一个任务
|
||||
- 修复脚本模式部分设备环境不兼容
|
||||
- 修复清理动态错误
|
||||
-
|
||||
|
||||
## v0.9.7.210714 alpha (2021-07-14)
|
||||
|
||||
### Added
|
||||
|
||||
- 添加脚本模式 `php index.php -?`
|
||||
-
|
||||
|
||||
### Changed
|
||||
|
||||
- 省略
|
||||
-
|
||||
|
||||
### Fixed
|
||||
|
||||
- 省略
|
||||
-
|
||||
|
||||
### Remarks
|
||||
|
||||
- 注意配置文件有些许改动
|
||||
- 注意需要重新进行`composer update`操作
|
||||
-
|
||||
|
||||
## v0.9.6.210625 alpha (2021-06-25)
|
||||
|
||||
### Added
|
||||
|
||||
-
|
||||
|
||||
### Changed
|
||||
|
||||
- 优化动态过滤
|
||||
- 优化过滤关键字
|
||||
- 优化短信登录流程
|
||||
-
|
||||
|
||||
### Fixed
|
||||
|
||||
- 修复动态转发
|
||||
-
|
||||
|
||||
### Remarks
|
||||
|
||||
- 注意配置文件有些许改动
|
||||
-
|
||||
|
||||
## v0.9.5.210624 alpha (2021-06-24)
|
||||
|
||||
### Added
|
||||
|
||||
-
|
||||
|
||||
### Changed
|
||||
|
||||
- 更新动态转发
|
||||
- 更新基础环境参数
|
||||
-
|
||||
|
||||
### Fixed
|
||||
|
||||
-
|
||||
|
||||
### Remarks
|
||||
|
||||
- 注意配置文件有些许改动
|
||||
-
|
||||
|
||||
## v0.9.4.210623 alpha (2021-06-23)
|
||||
|
||||
### Added
|
||||
|
||||
-
|
||||
|
||||
### Changed
|
||||
|
||||
- 更新部分仓库文件
|
||||
- 更新基础环境参数
|
||||
-
|
||||
|
||||
### Fixed
|
||||
|
||||
- 修复PC端银瓜子兑换硬币
|
||||
- 修复主站投币任务
|
||||
- 修复点亮勋章特殊情况
|
||||
-
|
||||
|
||||
### Remarks
|
||||
|
||||
-
|
||||
|
||||
## v0.9.3.210616 alpha (2021-06-16)
|
||||
|
||||
### Added
|
||||
|
||||
- 任务排程
|
||||
-
|
||||
|
||||
### Changed
|
||||
|
||||
- 配置热更新
|
||||
-
|
||||
|
||||
### Fixed
|
||||
|
||||
- 修复弹幕
|
||||
- 修复独立监控
|
||||
-
|
||||
|
||||
### Remarks
|
||||
|
||||
-
|
||||
|
||||
## v0.9.2.210602 alpha (2021-06-02)
|
||||
|
||||
### Added
|
||||
|
||||
-
|
||||
|
||||
### Changed
|
||||
|
||||
- 更新DcokerFile
|
||||
- 更新每日点亮勋章(100亲密度)
|
||||
-
|
||||
|
||||
### Fixed
|
||||
|
||||
-
|
||||
|
||||
### Remarks
|
||||
|
||||
-
|
||||
|
||||
## v0.9.1.210518 alpha (2021-05-18)
|
||||
|
||||
### Added
|
||||
|
||||
-
|
||||
|
||||
### Changed
|
||||
|
||||
- 删除过期活动
|
||||
- 更新風機委員
|
||||
- 更新银瓜子兑换硬币
|
||||
- 更新点亮勋章
|
||||
- 更新部分日志打印输出
|
||||
-
|
||||
|
||||
### Fixed
|
||||
|
||||
- 修复已知BUG
|
||||
-
|
||||
|
||||
### Remarks
|
||||
|
||||
-
|
||||
|
||||
## v0.9.0.210517 alpha (2021-05-17)
|
||||
|
||||
### Added
|
||||
|
||||
- 重大更新
|
||||
-
|
||||
|
||||
### Changed
|
||||
|
||||
- 懒得写描述
|
||||
-
|
||||
|
||||
### Fixed
|
||||
|
||||
- 配置文件有变动
|
||||
-
|
||||
|
||||
### Remarks
|
||||
|
||||
- 请重新配置
|
||||
-
|
||||
|
||||
## v0.8.1.210423 alpha (2021-04-23)
|
||||
|
||||
### Added
|
||||
-
|
||||
|
||||
### Changed
|
||||
|
||||
- 更新天选敏感词
|
||||
- 更新活动列表
|
||||
- 优化直播间心跳
|
||||
-
|
||||
|
||||
### Fixed
|
||||
-
|
||||
|
||||
### Remarks
|
||||
-
|
||||
|
||||
## v0.8.0.210327 alpha (2021-03-27)
|
||||
|
||||
### Added
|
||||
|
||||
- 增加直播扭蛋抽奖活动(可自定义)
|
||||
- 增加主站九宫格抽奖活动(可自定义)
|
||||
- 增加多个推送消息通道
|
||||
-
|
||||
|
||||
### Changed
|
||||
|
||||
- 更新过滤词独立
|
||||
- 更新请求中心
|
||||
- 更新日志打印
|
||||
- 更新基础库
|
||||
- 更新环境读取流程
|
||||
- 更新部分配置
|
||||
- 更新登录请求
|
||||
- 更新实物抽奖&天选抽奖
|
||||
- 支持PHP8.0+
|
||||
- 更新弹幕抽奖
|
||||
- 更新每日任务
|
||||
- 更新部分任务架构
|
||||
- 引入必要新包
|
||||
-
|
||||
|
||||
### Fixed
|
||||
|
||||
- 修复小心心心跳错误
|
||||
- 修复部分推送错误
|
||||
- 修复银瓜子换银币日志错误
|
||||
-
|
||||
|
||||
### Remarks
|
||||
|
||||
- 结构大更新,务必进行Composer等操作
|
||||
-
|
||||
|
||||
## v0.6.7.201117 alpha (2020-11-17)
|
||||
|
||||
### Added
|
||||
-
|
||||
|
||||
### Changed
|
||||
|
||||
- 调整WS读取数据大小
|
||||
- 调整弹幕发送时间
|
||||
- 更新天选之子日志打印
|
||||
- 更新基础库
|
||||
-
|
||||
|
||||
### Fixed
|
||||
|
||||
- 修复小心心心跳错误
|
||||
-
|
||||
|
||||
## v0.6.5.200808 alpha (2020-08-08)
|
||||
|
||||
### Added
|
||||
|
||||
- 添加小心心支持
|
||||
- 添加活动抽奖
|
||||
-
|
||||
|
||||
### Changed
|
||||
|
||||
- 去掉无效双端观看
|
||||
- 过期小心心赠送
|
||||
|
||||
### Fixed
|
||||
|
||||
- 修复小心心心跳错误
|
||||
-
|
||||
|
||||
## v0.6.0.200730 alpha (2020-07-30)
|
||||
|
||||
### Added
|
||||
|
||||
- 添加小心心支持
|
||||
-
|
||||
|
||||
### Changed
|
||||
|
||||
- 更新天选过滤关键词
|
||||
-
|
||||
|
||||
### Fixed
|
||||
|
||||
- 修复节奏风暴逻辑错误
|
||||
-
|
||||
|
||||
## v0.5.0.200625 alpha (2020-06-25)
|
||||
|
||||
### Added
|
||||
|
||||
- 添加破产机(赔到破产)
|
||||
- 添加推送KEY到期通知
|
||||
- 添加天选自动取关(测试)
|
||||
- 添加收益统计
|
||||
- 添加关注投币模式
|
||||
-
|
||||
|
||||
### Changed
|
||||
|
||||
- 更新部分信息输出
|
||||
- 修改日志打印前缀
|
||||
- 更新活跃弹幕延迟
|
||||
- 重构部分统计代码
|
||||
- 更新视频投币逻辑
|
||||
- 更新实物抽奖API
|
||||
- 修改硬币兑换延迟
|
||||
- 重构部分登录逻辑
|
||||
-
|
||||
|
||||
### Fixed
|
||||
|
||||
- 修复日志输出错误
|
||||
- 修复每日送礼异常
|
||||
- 修复赛事逻辑错误
|
||||
- 修复部分已知问题
|
||||
-
|
||||
|
||||
## v0.4.0.200505 alpha (2020-05-05)
|
||||
|
||||
### Added
|
||||
-
|
||||
|
||||
### Changed
|
||||
|
||||
- 关闭已结束的LPL赛事任务
|
||||
-
|
||||
|
||||
### Fixed
|
||||
|
||||
- 修复日志回调空格解析异常
|
||||
- 修复节奏风暴回显过滤错误
|
||||
- 修复活动抽奖重复请求问题
|
||||
- 修复主站任务获取AID异常
|
||||
-
|
||||
|
||||
## v0.4.0.200428 alpha (2020-04-28)
|
||||
|
||||
### Added
|
||||
-
|
||||
|
||||
### Changed
|
||||
-
|
||||
|
||||
### Fixed
|
||||
|
||||
- 修复赠送礼物逻辑
|
||||
-
|
||||
|
||||
## v0.4.0.200426 alpha (2020-04-26)
|
||||
|
||||
### Added
|
||||
|
||||
- 赛事助手 (签到、分享)
|
||||
-
|
||||
|
||||
### Changed
|
||||
-
|
||||
|
||||
### Fixed
|
||||
|
||||
- 修复休眠机制
|
||||
-
|
||||
|
||||
## v0.3.0.200425 alpha (2020-04-25)
|
||||
|
||||
### Added
|
||||
|
||||
- 添加调用函数
|
||||
-
|
||||
|
||||
### Changed
|
||||
|
||||
- 取消一处请求头
|
||||
-
|
||||
|
||||
### Fixed
|
||||
|
||||
- 修复休眠机制
|
||||
-
|
||||
|
||||
## v0.3.0.200424 alpha (2020-04-24)
|
||||
|
||||
### Added
|
||||
|
||||
- 抽出独立小黑屋
|
||||
- 提前引入BV2AV
|
||||
-
|
||||
|
||||
### Changed
|
||||
|
||||
- 优化监控推送
|
||||
- 优化登录参数
|
||||
- 同步黑屋提醒
|
||||
|
||||
### Fixed
|
||||
|
||||
- 修复监控输出
|
||||
-
|
||||
|
||||
## v0.3.0.200421 alpha (2020-04-21)
|
||||
|
||||
### Added
|
||||
-
|
||||
|
||||
### Changed
|
||||
-
|
||||
|
||||
### Fixed
|
||||
|
||||
- 修复节奏风暴回显
|
||||
- 修复分区监控异常
|
||||
- 修复获取勋章异常
|
||||
-
|
||||
|
||||
## v0.3.0.200419 alpha (2020-04-19)
|
||||
|
||||
### Added
|
||||
-
|
||||
|
||||
### Changed
|
||||
|
||||
- 去除主监控
|
||||
-
|
||||
|
||||
### Fixed
|
||||
|
||||
- 修复风暴回显过滤
|
||||
- 修复一处舰长处理
|
||||
- 修复中奖记录通知
|
||||
- 修复分区监控异常
|
||||
- 修复获取勋章异常
|
||||
-
|
||||
|
||||
## v0.3.0.200410 alpha (2020-04-10)
|
||||
|
||||
### Added
|
||||
-
|
||||
|
||||
### Changed
|
||||
-
|
||||
|
||||
### Fixed
|
||||
|
||||
- 修复备用监控无法获取
|
||||
- 修复获取分区ID异常
|
||||
-
|
||||
|
||||
## v0.3.0.200404 alpha (2020-04-04)
|
||||
|
||||
### Added
|
||||
|
||||
- 添加ISSUE模板
|
||||
- 添加处理监控端命令
|
||||
-
|
||||
|
||||
### Changed
|
||||
-
|
||||
|
||||
### Fixed
|
||||
|
||||
- 修复主监控内存溢出
|
||||
- 修复活动礼物提醒
|
||||
-
|
||||
|
||||
## v0.3.0.200318 alpha (2020-03-18)
|
||||
|
||||
### Added
|
||||
|
||||
- 添加日常任务定时执行(AM10:00)
|
||||
-
|
||||
|
||||
### Changed
|
||||
|
||||
- Sleep->Schedule
|
||||
- 优化异常通知
|
||||
- 优化异常重试数
|
||||
- 优化弹幕获取
|
||||
- 优化银瓜子宝箱
|
||||
-
|
||||
|
||||
### Fixed
|
||||
|
||||
- 修复日志回调
|
||||
- 修复response为null
|
||||
- 修复PC端心跳
|
||||
- 修复部分已知
|
||||
-
|
||||
|
||||
## v0.3.0.200316 alpha (2020-03-16)
|
||||
|
||||
### Added
|
||||
|
||||
- 添加异常处理(通知)
|
||||
-
|
||||
|
||||
### Changed
|
||||
-
|
||||
|
||||
### Fixed
|
||||
|
||||
- 修复活跃弹幕
|
||||
- 修复风纪测试
|
||||
- 修复部分已知
|
||||
-
|
||||
|
||||
## v0.3.0.200312 alpha (2020-03-12)
|
||||
|
||||
### Added
|
||||
|
||||
- 引入风纪 (不稳定测试)
|
||||
- 引入新库 (需要重新Composer)
|
||||
-
|
||||
|
||||
### Changed
|
||||
|
||||
- 重构部分公用方法
|
||||
- 重构CURL请求
|
||||
-
|
||||
|
||||
### Fixed
|
||||
|
||||
- 修复登录繁忙
|
||||
- 修复实物抽奖
|
||||
- 修复日志输出
|
||||
- 修复部分已知
|
||||
-
|
||||
|
||||
## v0.2.0.200226 alpha (2020-02-26)
|
||||
|
||||
### Added
|
||||
-
|
||||
|
||||
### Changed
|
||||
-
|
||||
|
||||
### Fixed
|
||||
|
||||
- 修复节奏风暴
|
||||
- 修复双端心跳
|
||||
-
|
||||
|
||||
## v0.2.0.200224 alpha (2020-02-24)
|
||||
|
||||
### Added
|
||||
|
||||
- 新增工具类
|
||||
- 引入新库(需要重新Composer)
|
||||
-
|
||||
|
||||
### Changed
|
||||
|
||||
- 优化数据过滤条件
|
||||
- 更新PC端心跳API
|
||||
- 优化实物抽奖
|
||||
- 优化运行条件
|
||||
-
|
||||
|
||||
### Fixed
|
||||
|
||||
- 修复内存异常
|
||||
- 修复重复投币
|
||||
-
|
||||
|
||||
## v0.2.0.200214 alpha (2020-02-14)
|
||||
|
||||
### Added
|
||||
-
|
||||
|
||||
### Changed
|
||||
|
||||
- 优化实物抽奖流程
|
||||
- 优化延迟礼物抽奖
|
||||
|
||||
### Fixed
|
||||
|
||||
- 修正部分函数名称
|
||||
- 尝试减少静态占用
|
||||
-
|
||||
|
||||
## v0.2.0.200208 alpha (2020-02-08)
|
||||
|
||||
### Added
|
||||
|
||||
- 哔哩哔哩漫画助手(可选)
|
||||
-
|
||||
|
||||
### Changed
|
||||
|
||||
- 补充部分过滤关键字
|
||||
-
|
||||
|
||||
### Fixed
|
||||
|
||||
- 修复一处内存异常
|
||||
-
|
||||
|
||||
## v0.1.0.200111 alpha (2020-01-11)
|
||||
|
||||
### Added
|
||||
|
||||
- 天选时刻奖品过滤
|
||||
-
|
||||
|
||||
### Changed
|
||||
-
|
||||
|
||||
### Fixed
|
||||
-
|
||||
|
||||
## v0.1.0.200128 alpha (2020-01-28)
|
||||
|
||||
### Added
|
||||
|
||||
- 增加推送消息过滤
|
||||
-
|
||||
|
||||
### Changed
|
||||
-
|
||||
|
||||
### Fixed
|
||||
|
||||
- 修复抽奖推送错误
|
||||
-
|
||||
|
||||
## v0.1.0.200111 alpha (2020-01-11)
|
||||
|
||||
### Added
|
||||
|
||||
- 天选时刻奖品过滤
|
||||
-
|
||||
|
||||
### Changed
|
||||
-
|
||||
|
||||
### Fixed
|
||||
-
|
||||
|
||||
## v0.1.0.200103 alpha (2020-01-03)
|
||||
|
||||
### Added
|
||||
|
||||
- 增加并发请求
|
||||
-
|
||||
|
||||
### Changed
|
||||
|
||||
- 更新抽奖逻辑
|
||||
- 更新部分API
|
||||
- 减少重复请求
|
||||
-
|
||||
|
||||
### Fixed
|
||||
|
||||
- 修复部分回显错误
|
||||
-
|
||||
|
||||
## v0.1.0.200101 alpha (2020-01-01)
|
||||
|
||||
### Added
|
||||
|
||||
- 任务逻辑引入协程
|
||||
|
||||
### Changed
|
||||
-
|
||||
|
||||
### Fixed
|
||||
|
||||
- 修复礼物赠送异常
|
||||
-
|
||||
|
||||
## v0.1.0.191227 alpha (2019-12-27)
|
||||
|
||||
### Added
|
||||
|
||||
- 新增备用官方分区监控
|
||||
- 新增按勋章亲密度赠送
|
||||
- 新增天选时刻获奖推送
|
||||
-
|
||||
|
||||
### Changed
|
||||
|
||||
- 优化部分架构
|
||||
- 优化独立监控
|
||||
- 优化监控逻辑
|
||||
- 优化礼物赠送
|
||||
- 优化通用抽奖
|
||||
- 优化推送逻辑
|
||||
-
|
||||
|
||||
### Fixed
|
||||
|
||||
- 修复部分日志显示
|
||||
- 修复数据统计异常
|
||||
- 修复瓜子宝箱异常
|
||||
- 修复Server酱异常
|
||||
- 修复天选时刻异常
|
||||
- 修复抽奖数据异常
|
||||
- 修复部分已知BUG
|
||||
- 修复获奖推送通知
|
||||
- 修复休眠中心异常
|
||||
- 修复礼物赠送异常
|
||||
-
|
||||
|
||||
## v0.0.5.191223 alpha (2019-12-23)
|
||||
|
||||
## v0.0.4.191030 alpha (2019-10-30)
|
||||
|
||||
## v0.0.3.190730 alpha (2019-07-30)
|
||||
|
||||
## v0.0.2.190723 alpha (2019-07-23)
|
||||
|
||||
## v0.0.1.190713 alpha (2019-07-13)
|
||||
|
||||
</details>
|
||||
342
docs/DOC.md
Normal file
342
docs/DOC.md
Normal file
@ -0,0 +1,342 @@
|
||||
<p align="center"><img width="300px" src="https://user-images.githubusercontent.com/19500576/118621710-36428180-b7f9-11eb-891d-3f5697347cef.png"></p>
|
||||
|
||||
[comment]: <> (<p align="center"><img width="300px" src="https://i.loli.net/2018/04/20/5ad97bd395912.jpeg"></p>)
|
||||
|
||||
<div align="center">
|
||||
|
||||
[](https://github.com/lkeme/ )
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
</div>
|
||||
|
||||
## 环境依赖
|
||||
|
||||
通常使用 `composer` 工具会自动检测以下依赖问题。
|
||||
|
||||
|Requirement |
|
||||
|--------------------|
|
||||
|PHP >=8.0 |
|
||||
|php_curl |
|
||||
|php_sockets |
|
||||
|php_openssl |
|
||||
|php_json |
|
||||
|php_zlib |
|
||||
|php_mbstring |
|
||||
|
||||
## Composer
|
||||
|
||||
+ [Composer 安装与使用](https://www.runoob.com/w3cnote/composer-install-and-usage.html)
|
||||
|
||||
+ [Composer 下载](https://getcomposer.org/download/)
|
||||
|
||||
+ 当前项目 `composer.lock` 基于阿里云 Composer镜像生成
|
||||
|
||||
+ 阿里云(全量镜像)
|
||||
|
||||
```shell script
|
||||
# 使用帮助
|
||||
> https://developer.aliyun.com/composer
|
||||
# 使用命令
|
||||
> composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/
|
||||
```
|
||||
|
||||
+ 恢复默认镜像|Composer.phar加速下载
|
||||
|
||||
```shell script
|
||||
> composer config -g --unset repos.packagist
|
||||
|
||||
> https://mirrors.cloud.tencent.com/composer/composer.phar
|
||||
> https://mirrors.aliyun.com/composer/composer.phar
|
||||
```
|
||||
|
||||
<details>
|
||||
<summary>其余镜像 展开查看</summary>
|
||||
<pre><code>
|
||||
+ cnpkg(全量镜像)
|
||||
```shell script
|
||||
# 使用帮助
|
||||
> https://php.cnpkg.org/
|
||||
# 使用命令
|
||||
> composer config -g repos.packagist composer https://php.cnpkg.org
|
||||
```
|
||||
|
||||
+ 腾讯云(全量镜像)
|
||||
|
||||
```shell script
|
||||
# 使用帮助
|
||||
> https://mirrors.cloud.tencent.com/help/composer.html
|
||||
# 使用命令
|
||||
> composer config -g repos.packagist composer https://mirrors.cloud.tencent.com/composer/
|
||||
```
|
||||
|
||||
+ PhpComposer(全量镜像)
|
||||
|
||||
```shell script
|
||||
# 使用帮助
|
||||
> https://pkg.phpcomposer.com/
|
||||
# 使用命令
|
||||
> composer config -g repo.packagist composer https://packagist.phpcomposer.com
|
||||
```
|
||||
|
||||
+ 华为云(全量镜像)
|
||||
|
||||
```shell script
|
||||
# 使用帮助
|
||||
> https://mirrors.huaweicloud.com/repository/php/
|
||||
# 使用命令
|
||||
> composer config -g repos.packagist composer https://mirrors.huaweicloud.com/repository/php/
|
||||
```
|
||||
|
||||
+ 交通大学(非全量镜像)
|
||||
|
||||
```shell script
|
||||
# 使用帮助
|
||||
> https://packagist.mirrors.sjtug.sjtu.edu.cn/
|
||||
# 使用命令
|
||||
> composer config -g repos.packagist composer https://packagist.mirrors.sjtug.sjtu.edu.cn
|
||||
```
|
||||
|
||||
</code></pre>
|
||||
</details>
|
||||
|
||||
## 使用指南
|
||||
|
||||
1. 下载(克隆)项目代码,初始化项目
|
||||
|
||||
```shell script
|
||||
$ git clone https://github.com/lkeme/BiliHelper-personal.git
|
||||
$ cp profile/example profile/user
|
||||
```
|
||||
|
||||
2. 使用 [composer](https://getcomposer.org/download/) 工具进行安装
|
||||
|
||||
```shell script
|
||||
$ composer install
|
||||
```
|
||||
|
||||
[comment]: <> (composer dump-autoload (-o))
|
||||
|
||||
[comment]: <> (composer dumpautoload (-o))
|
||||
|
||||
3. 按照说明修改配置文件 `profile/user/config/user.ini`
|
||||
|
||||
```shell script
|
||||
# 默认只需填写帐号密码,按需求开启其他功能即可
|
||||
...
|
||||
```
|
||||
|
||||
4. 运行测试
|
||||
|
||||
```shell script
|
||||
$ php app.php
|
||||
```
|
||||
|
||||
> 以下是`多账户多开方案`,单个账户可以无视
|
||||
|
||||
5. 复制一份profile/example配置文件夹,修改账号密码即可
|
||||
|
||||
```shell script
|
||||
# 默认配置user
|
||||
$ php app.php m:a
|
||||
# 默认配置 darling
|
||||
$ php app.php darling m:a
|
||||
# 如果写了用户参数 不带m:a 与上同等效果
|
||||
$ php app.php darling
|
||||
```
|
||||
|
||||
6. 自定义设备方案
|
||||
|
||||
修改个人配置文件夹即可 `profile/user/device/device.yaml`
|
||||
|
||||
7. 命令模式
|
||||
|
||||
```shell script
|
||||
# 获取所有命令
|
||||
$ php app.php
|
||||
mode:app m:a [主要模式] 默认功能
|
||||
mode:debug m:d [Debug模式] 开发测试使用
|
||||
mode:restore m:r [复位模式] 复位一些缓存以及设置
|
||||
mode:script m:s [脚本模式] 使用一些额外功能脚本
|
||||
```
|
||||
|
||||
8. 请保证配置文件存在,否则默认加载`user`配置文件夹
|
||||
|
||||
<p align="center"><img width="680px" src="https://user-images.githubusercontent.com/19500576/118621472-f8455d80-b7f8-11eb-9fec-500148a566b4.png"></p>
|
||||
|
||||
[comment]: <> (<p align="center"><img width="680px" src="https://i.loli.net/2018/04/21/5adb497dc3ece.png"></p>)
|
||||
|
||||
## Docker使用指南
|
||||
|
||||
1. 安装好[Docker](https://yeasy.gitbooks.io/docker_practice/content/install/)
|
||||
2. 直接命令行拉取镜像后运行
|
||||
|
||||
### 传入的参数方式有两种(二选一,如果同时传入则优先选择配置文件)
|
||||
|
||||
- 通过环境变量进行传入
|
||||
|
||||
```shell script
|
||||
$ docker run -itd --rm -e USER_NAME=你的B站登录账号 -e USER_PASSWORD=你的B站密码 lkeme/bilihelper-personal
|
||||
```
|
||||
|
||||
- 通过配置文件进行传入(能保留登录状态,自定义配置)
|
||||
|
||||
1. 下载[配置文件](https://raw.githubusercontent.com/lkeme/BiliHelper-personal/master/conf/user.ini.example)
|
||||
2. 修改
|
||||
3. 通过下面的命令进行挂载并运行
|
||||
|
||||
```shell script
|
||||
$ docker run -itd --rm -v /path/to/your/confFilePath:/app/profile/user lkeme/bilihelper-personal
|
||||
```
|
||||
|
||||
- 使用github镜像加速
|
||||
|
||||
```shell script
|
||||
$ -e MIRRORS=0 # 使用 github.com
|
||||
$ -e MIRRORS=1 # 使用 ghproxy.com
|
||||
$ -e MIRRORS=2 # 使用 fastgit.org
|
||||
$ -e MIRRORS=3 # 使用 hub.gitfast.tk
|
||||
$ -e MIRRORS=4 # 使用 hub.gitslow.tk
|
||||
$ -e MIRRORS=5 # 使用 hub.verge.tk
|
||||
$ -e MIRRORS=6 # 使用 gh.api.99988866.xyz
|
||||
$ -e MIRRORS=custom -e CUSTOM_CLONE_URL=https://github.com/lkeme/BiliHelper-personal.git # 使用 自定义克隆地址
|
||||
```
|
||||
|
||||
- 相关参数
|
||||
|
||||
```ps
|
||||
-it 前台运行
|
||||
-itd 后台运行
|
||||
-v 本地文件:容器内部文件 ==> 挂载本地文件到容器中。本地文件路径随便变,容器内部文件路径不能变。
|
||||
```
|
||||
|
||||
- -v模式使用短信登录
|
||||
|
||||
```
|
||||
配置文件里设置好,发送完短信
|
||||
docker attach 或者docker exec 再进去容器里输入
|
||||
```
|
||||
|
||||
- 注意: Docker镜像已经包含了所有所需的运行环境,无需在本地环境弄composer。每次启动容器时,都会与项目进行同步以确保版本最新。
|
||||
|
||||
## 升级指南
|
||||
|
||||
> 注意新版本的配置文件是否变动,则需要重新覆盖配置文件,并重新填写设置
|
||||
|
||||
1. 进入项目目录
|
||||
|
||||
```
|
||||
$ cd BiliHelper-personal
|
||||
```
|
||||
|
||||
2. 拉取最新代码
|
||||
|
||||
```
|
||||
$ git pull
|
||||
```
|
||||
|
||||
3. 更新依赖库
|
||||
|
||||
```
|
||||
$ composer install
|
||||
```
|
||||
|
||||
4. 如果使用 systemd 等,需要重启服务
|
||||
|
||||
```
|
||||
$ systemctl restart bilibili
|
||||
```
|
||||
|
||||
## 部署指南
|
||||
|
||||
如果你将 BiliHelper-personal 部署到线上服务器时,则需要配置一个进程监控器来监测 `php index.php` 命令,在它意外退出时自动重启。
|
||||
|
||||
通常可以使用以下的方式
|
||||
|
||||
- systemd (推荐)
|
||||
- Supervisor
|
||||
- screen (自用)
|
||||
- nohup
|
||||
|
||||
## systemd 脚本
|
||||
|
||||
```
|
||||
# /usr/lib/systemd/system/bilibili.service
|
||||
|
||||
[Unit]
|
||||
Description=BiliHelper Manager
|
||||
Documentation=https://github.com/lkeme/BiliHelper-personal
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/php /path/to/your/BiliHelper-personal/index.php
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
```
|
||||
|
||||
## Supervisor 配置
|
||||
|
||||
```
|
||||
[program:bilibili]
|
||||
process_name=%(program_name)s
|
||||
command=php /path/to/your/BiliHelper-personal/index.php
|
||||
autostart=true
|
||||
autorestart=true
|
||||
redirect_stderr=true
|
||||
stdout_logfile=/tmp/bilibili.log
|
||||
```
|
||||
|
||||
## 报错通知问题
|
||||
|
||||
脚本出现 error 级别的报错,会调用通知地址进行提醒,这里推荐两个服务
|
||||
|
||||
|服务|官网|
|
||||
|---|---|
|
||||
|Server酱|https://sc.ftqq.com/|
|
||||
|TelegramBot|https://core.telegram.org/bots/api|
|
||||
|
||||
示范如下
|
||||
|
||||
```
|
||||
# Server酱
|
||||
# 自行替换 <SCKEY>
|
||||
APP_CALLBACK="https://sc.ftqq.com/<SCKEY>.send?text={message}"
|
||||
|
||||
# TelegramBot
|
||||
# 自行替换 <TOKEN> <CHAR_ID>
|
||||
APP_CALLBACK="https://api.telegram.org/bot<TOKEN>/sendMessage?chat_id=<CHAR_ID>&text={message}"
|
||||
```
|
||||
|
||||
`{message}` 部分会自动替换成错误信息,接口采用 get 方式发送
|
||||
|
||||
## 直播间 ID 问题
|
||||
|
||||
文件 `user.ini` 里
|
||||
|
||||
`ROOM_ID` 配置,填写此项可以清空临过期礼物给指定直播间。
|
||||
|
||||
`ROOM_LIST` 配置,使用长位直播间,填写此项可以清空临礼物给指定有勋章的直播间。
|
||||
|
||||
`FEED_FILL` 配置,搭配上一条使用,使用过期礼物或者倒序使用正常礼物。
|
||||
|
||||
`SOCKET_ROOM_ID` 配置,监控使用,暂时没用到。
|
||||
|
||||
通常可以在直播间页面的 url 获取到它
|
||||
|
||||
```
|
||||
http://live.bilibili.com/9522051
|
||||
```
|
||||
|
||||
长位直播间ID获取
|
||||
|
||||
```
|
||||
https://api.live.bilibili.com/room/v1/Room/room_init?id=3
|
||||
```
|
||||
|
||||
所有直播间号码小于 1000 的直播间为短号,部分4位直播间也为短号,
|
||||
|
||||
该脚本在每次启动会自动修正部分功能,特殊标注的请留意。
|
||||
132
docs/NOTIFY.md
Normal file
132
docs/NOTIFY.md
Normal file
@ -0,0 +1,132 @@
|
||||
## 关于推送
|
||||
|
||||
### 开关
|
||||
|
||||
```ini
|
||||
[notify]
|
||||
enable = false
|
||||
filter_words =
|
||||
```
|
||||
|
||||
### 推送单元
|
||||
|
||||
> 以下数据为示例(e.g.),需要根据实际需求配置
|
||||
|
||||
**钉钉**
|
||||
|
||||
> 文档: https://developers.dingtalk.com/document/robots/custom-robot-access
|
||||
> 说明: 钉钉推送的密钥
|
||||
|
||||
```ini
|
||||
; Dingtalk机器人|token|依赖USE_NOTIFY
|
||||
[notify_dingtalk]
|
||||
token = 566cc69da782ec****
|
||||
```
|
||||
|
||||
**Telegram**
|
||||
|
||||
> 文档: https://core.telegram.org/bots/api#sendmessage
|
||||
> 说明: 如果开启 TGbot API 反代,填写url,否则为空使用默认api。
|
||||
> 说明: TG 推送的Token, xxx/bot{这是token部分}/xxxx
|
||||
> 说明: TG 推送的用户/群组/频道 ID
|
||||
|
||||
```ini
|
||||
; Tele机器人|url(可选)|token|chatid|依赖USE_NOTIFY
|
||||
[notify_telegram]
|
||||
url = https://*.*.workers.dev/bot
|
||||
bottoken = 1640****:AAGlV3****_FscZ-****
|
||||
chatid = 390****
|
||||
```
|
||||
|
||||
**PUSH PLUS**
|
||||
|
||||
> 文档: http://www.pushplus.plus/doc/
|
||||
> 说明: push plus++ 推送的 `token`
|
||||
|
||||
```ini
|
||||
; Pushplus酱|token|依赖USE_NOTIFY
|
||||
[notify_pushplus]
|
||||
token = 566cc69da782ec****
|
||||
```
|
||||
|
||||
**Sever酱(原版)**
|
||||
|
||||
> 文档: https://sc.ftqq.com/
|
||||
> 说明: Server 酱老版本 key,SCU 开头的
|
||||
|
||||
```ini
|
||||
; Sever酱(原版)|令牌Key|依赖USE_NOTIFY
|
||||
[notify_sc]
|
||||
sckey = SCU566cc69da782ec****
|
||||
```
|
||||
|
||||
**Server酱(Turbo版)**
|
||||
|
||||
> 文档: https://sct.ftqq.com/
|
||||
> 说明: Server 酱 Turbo 版本 key,SCT 开头的
|
||||
|
||||
```ini
|
||||
; Server酱(Turbo版)|令牌Key|依赖USE_NOTIFY
|
||||
[notify_sct]
|
||||
sctkey = SCT566cc69da782ec****
|
||||
```
|
||||
|
||||
**GoCqhttp**
|
||||
|
||||
> 文档: https://docs.go-cqhttp.org/api/
|
||||
> 说明: 推送的完整api, 包含`/send_private_msg`、`/send_group_msg` 等等完整后缀
|
||||
> 说明: 推送的AccessToken
|
||||
> 说明: 目标QQ号或者QQ群号,根据API调整
|
||||
|
||||
```ini
|
||||
; GoCqhttp|url|token|目标qq|依赖USE_NOTIFY
|
||||
[notify_gocqhttp]
|
||||
url = "http://127.0.0.1:5700/send_private_msg"
|
||||
token = 566cc69da782ec****
|
||||
target_qq = 10086
|
||||
```
|
||||
|
||||
**Debug(个人用)**
|
||||
|
||||
> 文档: https://localhost:8921/doc
|
||||
|
||||
```ini
|
||||
; Debug|个人调试推送|url|token|
|
||||
[notify_debug]
|
||||
url = "https://localhost:8921/notify"
|
||||
token = 566cc69da782ec****
|
||||
```
|
||||
|
||||
**企业微信群机器人**
|
||||
|
||||
> 文档: https://open.work.weixin.qq.com/api/doc/90000/90136/91770 | https://weibanzhushou.com/blog/330
|
||||
> 说明: 推送的AccessToken
|
||||
|
||||
```ini
|
||||
; 企业微信群机器人|token
|
||||
[notify_we_com]
|
||||
token = ec971f1d-****-4700-****-d9461e76****
|
||||
```
|
||||
|
||||
**企业微信应用**
|
||||
|
||||
> 文档: https://open.work.weixin.qq.com/wwopen/devtool/interface?doc_id=10167
|
||||
> 说明: 企业 id
|
||||
> 说明: 应用的凭证密钥
|
||||
> 说明: 企业应用的 id
|
||||
> 说明: 指定接收消息的成员,成员 ID 列表 默认为@all
|
||||
|
||||
```ini
|
||||
; 企业微信应用消息|corp_id|corp_secret|agent_id|to_user
|
||||
[notify_we_com_app]
|
||||
corp_id = ****
|
||||
corp_secret = ****
|
||||
agent_id = ****
|
||||
to_user = UserId1|UserId2|UserId3
|
||||
```
|
||||
|
||||
### 调试
|
||||
|
||||
https://github.com/lkeme/BiliHelper-personal/blob/eb06f55fa0fa6cb07bbeffc7e85c6ac0bfaa67b3/data/latest_version.json#L8
|
||||
|
||||
改成与线上不同的版本即可,检查新版本就会推送一次。
|
||||
@ -117,7 +117,8 @@ class CheckUpdate extends BasePluginRW
|
||||
*/
|
||||
protected function fetchOnlineVersion(): object
|
||||
{
|
||||
$url = $this->resource->get('raw_url');
|
||||
$branch = getConf('app.branch');
|
||||
$url = $this->resource->get($branch . '_raw_url');
|
||||
$payload = [];
|
||||
return Request::getJson(false, 'other', $url, $payload);
|
||||
}
|
||||
@ -143,4 +144,4 @@ class CheckUpdate extends BasePluginRW
|
||||
{
|
||||
return str_replace("\\", "/", APP_RESOURCES_PATH . $filename);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -75,7 +75,7 @@ class LiveGoldBox extends BasePlugin
|
||||
{
|
||||
if (TimeLock::getTimes() > time() || !getEnable('live_gold_box')) return;
|
||||
// 2022-06-07
|
||||
$this->calcAidRange(900, 1100);
|
||||
$this->calcAidRange(945, 1200);
|
||||
//
|
||||
$lottery_list = $this->fetchLotteryList();
|
||||
//
|
||||
|
||||
@ -1,3 +1,11 @@
|
||||
#######################
|
||||
# 程序设置 #
|
||||
#######################
|
||||
|
||||
[app]
|
||||
name = BiliHelper-personal
|
||||
env = local
|
||||
branch = master
|
||||
version = 0.0.1
|
||||
|
||||
#######################
|
||||
|
||||
@ -3,8 +3,8 @@ device_version: 0.0.1
|
||||
app:
|
||||
bili_a: # Android
|
||||
package: "tv.danmaku.bili"
|
||||
version: "6.83.0"
|
||||
build: "6830300"
|
||||
version: "6.86.0"
|
||||
build: "6860300"
|
||||
channel: "bili"
|
||||
device: "phone"
|
||||
mobi_app: "android"
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
14
resources/latest_version.json
Normal file
14
resources/latest_version.json
Normal file
@ -0,0 +1,14 @@
|
||||
{
|
||||
"code": 200,
|
||||
"project": "BiliHelper-personal",
|
||||
"branch": "master",
|
||||
"source": "https://github.com/lkeme/BiliHelper-personal",
|
||||
"raw_url": "https://gh.notifyplus.cf/https://raw.githubusercontent.com/lkeme/BiliHelper-personal/master/data/latest_version.json",
|
||||
"purge_url": "https://cdn.staticaly.com/gh/lkeme/BiliHelper-personal/master/data/latest_version.json",
|
||||
"version": "1.2.0.220517",
|
||||
"des": "程序有更新,请及时线上查看更新哦~",
|
||||
"time": "2022年5月17日",
|
||||
"ini_version": "0.0.1",
|
||||
"ini_des": "配置有更新,请及时线上查看更新哦~",
|
||||
"ini_time": "2022年5月17日"
|
||||
}
|
||||
@ -1,14 +1,16 @@
|
||||
{
|
||||
"code": 200,
|
||||
"project": "BiliHelper-personal",
|
||||
"branch": "master",
|
||||
"source": "https://github.com/lkeme/BiliHelper-personal",
|
||||
"raw_url": "https://gh.notifyplus.cf/https://raw.githubusercontent.com/lkeme/BiliHelper-personal/master/data/latest_version.json",
|
||||
"purge_url": "https://cdn.staticaly.com/gh/lkeme/BiliHelper-personal/master/data/latest_version.json",
|
||||
"version": "1.2.0.220517-dev",
|
||||
"des": "程序有更新,请及时线上查看更新哦~",
|
||||
"time": "2022年5月17日",
|
||||
"ini_version": "0.0.1",
|
||||
"ini_des": "配置有更新,请及时线上查看更新哦~",
|
||||
"ini_time": "2022年5月17日"
|
||||
}
|
||||
"code": 200,
|
||||
"project": "BiliHelper-personal",
|
||||
"source": "https://github.com/lkeme/BiliHelper-personal",
|
||||
"raw_url": "https://gh.notifyplus.cf/https://github.com/lkeme/BiliHelper-personal/blob/master/resources/version.json",
|
||||
"master_raw_url": "https://gh.notifyplus.cf/https://github.com/lkeme/BiliHelper-personal/blob/master/resources/version.json",
|
||||
"dev_raw_url": "https://gh.notifyplus.cf/https://github.com/lkeme/BiliHelper-personal/blob/dev/resources/version.json",
|
||||
"master_purge_url": "https://cdn.staticaly.com/gh/lkeme/BiliHelper-personal/master/resources/version.json",
|
||||
"dev_purge_url": "https://cdn.staticaly.com/gh/lkeme/BiliHelper-personal/dev/resources/version.json",
|
||||
"version": "2.0.0.220822",
|
||||
"des": "程序有更新,请及时线上查看更新哦~",
|
||||
"time": "2022年08月18日",
|
||||
"ini_version": "0.0.1",
|
||||
"ini_des": "配置有更新,请及时线上查看更新哦~",
|
||||
"ini_time": "2022年08月18日"
|
||||
}
|
||||
|
||||
@ -61,7 +61,7 @@ class ApiLogin
|
||||
$payload = [
|
||||
'cid' => $cid,
|
||||
'tel' => $phone,
|
||||
'statistics' => '{"appId":1,"platform":3,"version":"6.83.0","abtest":""}',
|
||||
'statistics' => '{"appId":1,"platform":3,"version":"6.86.0","abtest":""}',
|
||||
];
|
||||
// {"code":0,"message":"0","ttl":1,"data":{"is_new":false,"captcha_key":"4e292933816755442c1568e2043b8e41","recaptcha_url":""}}
|
||||
// {"code":0,"message":"0","ttl":1,"data":{"is_new":false,"captcha_key":"","recaptcha_url":"https://www.bilibili.com/h5/project-msg-auth/verify?ct=geetest\u0026recaptcha_token=ad520c3a4a3c46e29b1974d85efd2c4b\u0026gee_gt=1c0ea7c7d47d8126dda19ee3431a5f38\u0026gee_challenge=c772673050dce482b9f63ff45b681ceb\u0026hash=ea2850a43cc6b4f1f7b925d601098e5e"}}
|
||||
@ -88,4 +88,3 @@ class ApiLogin
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
35
src/Api/Room/V1/ApiArea.ctp
Normal file
35
src/Api/Room/V1/ApiArea.ctp
Normal file
@ -0,0 +1,35 @@
|
||||
<?php declare(strict_types=1);
|
||||
|
||||
/**
|
||||
* Website: https://mudew.com/
|
||||
* Author: Lkeme
|
||||
* License: The MIT License
|
||||
* Email: Useri@live.cn
|
||||
* Updated: 2022 ~ 2023
|
||||
*
|
||||
* _____ _ _ _ _ _ _____ _ _____ _____ _____
|
||||
* | _ \ | | | | | | | | | | | ____| | | | _ \ | ____| | _ \ & /l、
|
||||
* | |_| | | | | | | | | |_| | | |__ | | | |_| | | |__ | |_| | (゚、 。 7
|
||||
* | _ { | | | | | | | _ | | __| | | | ___/ | __| | _ / \、゙ ~ヽ *
|
||||
* | |_| | | | | |___ | | | | | | | |___ | |___ | | | |___ | | \ \ じしf_, )ノ
|
||||
* |_____/ |_| |_____| |_| |_| |_| |_____| |_____| |_| |_____| |_| \_\
|
||||
*/
|
||||
|
||||
namespace Bhp\Api\Room\V1;
|
||||
|
||||
use Bhp\Request\Request;
|
||||
|
||||
class ApiArea
|
||||
{
|
||||
/**
|
||||
* 获取分区列表
|
||||
* @return array
|
||||
*/
|
||||
public static function getList(): array
|
||||
{
|
||||
$url = 'https://api.live.bilibili.com/room/v1/Area/getList';
|
||||
$payload = [];
|
||||
return Request::getJson(true, 'other', $url, $payload);
|
||||
}
|
||||
|
||||
}
|
||||
41
src/Api/Room/V1/ApiDanMu.ctp
Normal file
41
src/Api/Room/V1/ApiDanMu.ctp
Normal file
@ -0,0 +1,41 @@
|
||||
<?php declare(strict_types=1);
|
||||
|
||||
/**
|
||||
* Website: https://mudew.com/
|
||||
* Author: Lkeme
|
||||
* License: The MIT License
|
||||
* Email: Useri@live.cn
|
||||
* Updated: 2022 ~ 2023
|
||||
*
|
||||
* _____ _ _ _ _ _ _____ _ _____ _____ _____
|
||||
* | _ \ | | | | | | | | | | | ____| | | | _ \ | ____| | _ \ & /l、
|
||||
* | |_| | | | | | | | | |_| | | |__ | | | |_| | | |__ | |_| | (゚、 。 7
|
||||
* | _ { | | | | | | | _ | | __| | | | ___/ | __| | _ / \、゙ ~ヽ *
|
||||
* | |_| | | | | |___ | | | | | | | |___ | |___ | | | |___ | | \ \ じしf_, )ノ
|
||||
* |_____/ |_| |_____| |_| |_| |_| |_____| |_____| |_| |_____| |_| \_\
|
||||
*/
|
||||
|
||||
namespace Bhp\Api\Room\V1;
|
||||
|
||||
use Bhp\Request\Request;
|
||||
|
||||
class ApiDanMu
|
||||
{
|
||||
/**
|
||||
* web端获取直播间信息
|
||||
* @param int $room_id
|
||||
* @return array
|
||||
*/
|
||||
public static function getConf(int $room_id): array
|
||||
{
|
||||
$url = 'https://api.live.bilibili.com/room/v1/Danmu/getConf';
|
||||
$payload = [
|
||||
'room_id' => $room_id,
|
||||
'platform' => 'pc',
|
||||
'player' => 'web'
|
||||
];
|
||||
// {"code":0,"msg":"ok","message":"ok","data":{"refresh_row_factor":0.125,"refresh_rate":100,"max_delay":5000,"port":2243,"host":"broadcastlv.chat.bilibili.com","host_server_list":[{"host":"ks-live-dmcmt-sh2-pm-03.chat.bilibili.com","port":2243,"wss_port":443,"ws_port":2244},{"host":"ks-live-dmcmt-bj6-pm-02.chat.bilibili.com","port":2243,"wss_port":443,"ws_port":2244},{"host":"broadcastlv.chat.bilibili.com","port":2243,"wss_port":443,"ws_port":2244}],"server_list":[{"host":"120.92.158.137","port":2243},{"host":"120.92.112.150","port":2243},{"host":"broadcastlv.chat.bilibili.com","port":2243},{"host":"120.92.158.137","port":80},{"host":"120.92.112.150","port":80},{"host":"broadcastlv.chat.bilibili.com","port":80}],"token":"*="}}
|
||||
return Request::getJson(true, 'other', $url, $payload);
|
||||
}
|
||||
|
||||
}
|
||||
@ -63,6 +63,8 @@ class Bootstrap extends SingleTon
|
||||
{
|
||||
// 核心
|
||||
Core::getInstance($this->global_path, $this->profile_name);
|
||||
// 环境
|
||||
Env::getInstance();
|
||||
// 排程
|
||||
Schedule::getInstance();
|
||||
// 插件中心
|
||||
@ -73,8 +75,6 @@ class Bootstrap extends SingleTon
|
||||
Cache::getInstance();
|
||||
// 日志
|
||||
Log::getInstance();
|
||||
// 环境
|
||||
Env::getInstance();
|
||||
// 设备/取前缀
|
||||
Device::getInstance();
|
||||
// 请求中心
|
||||
|
||||
@ -31,12 +31,12 @@ class Console extends SingleTon
|
||||
* @var string
|
||||
*/
|
||||
protected string $logo = <<<LOGO
|
||||
________ ___ ___ ___ ___ ___ _______ ___ ________ _______ ________
|
||||
|\ __ \|\ \|\ \ |\ \|\ \|\ \|\ ___ \ |\ \ |\ __ \|\ ___ \ |\ __ \
|
||||
\ \ \|\ /\ \ \ \ \ \ \ \ \ \\\ \ \ __/|\ \ \ \ \ \|\ \ \ __/|\ \ \|\ \
|
||||
\ \ __ \ \ \ \ \ \ \ \ \ __ \ \ \_|/_\ \ \ \ \ ____\ \ \_|/_\ \ _ _\
|
||||
\ \ \|\ \ \ \ \ \____\ \ \ \ \ \ \ \ \_|\ \ \ \____\ \ \___|\ \ \_|\ \ \ \\ \|
|
||||
\ \_______\ \__\ \_______\ \__\ \__\ \__\ \_______\ \_______\ \__\ \ \_______\ \__\\ _\
|
||||
________ ___ ___ ___ ___ ___ _______ ___ ________ _______ ________
|
||||
|\ __ \|\ \|\ \ |\ \|\ \|\ \|\ ___ \ |\ \ |\ __ \|\ ___ \ |\ __ \
|
||||
\ \ \|\ /\ \ \ \ \ \ \ \ \ \\\ \ \ __/|\ \ \ \ \ \|\ \ \ __/|\ \ \|\ \
|
||||
\ \ __ \ \ \ \ \ \ \ \ \ __ \ \ \_|/_\ \ \ \ \ ____\ \ \_|/_\ \ _ _\
|
||||
\ \ \|\ \ \ \ \ \____\ \ \ \ \ \ \ \ \_|\ \ \ \____\ \ \___|\ \ \_|\ \ \ \\ \|
|
||||
\ \_______\ \__\ \_______\ \__\ \__\ \__\ \_______\ \_______\ \__\ \ \_______\ \__\\ _\
|
||||
\|_______|\|__|\|_______|\|__|\|__|\|__|\|_______|\|_______|\|__| \|_______|\|__|\|__|
|
||||
|
||||
LOGO;
|
||||
@ -101,4 +101,4 @@ LOGO;
|
||||
->handle($this->argv);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@ -133,4 +133,4 @@ class Env extends BaseResource
|
||||
// return count($processStack) > 0;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user