mirror of
https://github.com/0-8-4/miui-auto-tasks.git
synced 2024-11-16 04:35:51 +00:00
parent
a3924486b8
commit
4185dfd61c
13
firstrun.sh
13
firstrun.sh
@ -1,12 +1,19 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# new Env("MIUI-Auto-Task 环境配置")
|
# new Env("MIUI-Auto-Task 环境配置")
|
||||||
# cron 0 0 1 * * firstrun.sh
|
echo "在本任务运行完后请不要忘记禁用该任务!"
|
||||||
|
echo "在本任务运行完后请不要忘记禁用该任务!"
|
||||||
|
echo "在本任务运行完后请不要忘记禁用该任务!"
|
||||||
|
echo "————————————"
|
||||||
echo "开始安装依赖"
|
echo "开始安装依赖"
|
||||||
pip install -i https://mirrors.aliyun.com/pypi/simple/ -r /ql/data/repo/0-8-4_miui-auto-tasks_master/requirements.txt
|
pip install -i https://mirrors.aliyun.com/pypi/simple/ -r /ql/data/repo/0-8-4_miui-auto-tasks_master/requirements.txt
|
||||||
echo "依赖已安装完毕"
|
echo "依赖已安装完毕"
|
||||||
|
echo "————————————"
|
||||||
echo "开始首次执行"
|
echo "开始首次执行"
|
||||||
task 0-8-4_miui-auto-tasks_master/miuitask.py
|
task 0-8-4_miui-auto-tasks_master/miuitask.py
|
||||||
echo "首次执行完毕"
|
echo "首次执行完毕"
|
||||||
|
echo "————————————"
|
||||||
|
echo "请不要忘记禁用该任务!"
|
||||||
|
echo "请不要忘记禁用该任务!"
|
||||||
|
echo "请不要忘记禁用该任务!"
|
||||||
echo "请到 脚本管理 - 0-8-4_miui-auto-tasks_master - data - config.yml 中配置参数"
|
echo "请到 脚本管理 - 0-8-4_miui-auto-tasks_master - data - config.yml 中配置参数"
|
||||||
|
echo "————————————"
|
||||||
|
Loading…
Reference in New Issue
Block a user