1 Star 0 Fork 9

孙英杰/LZU-Auto-COVID-Health-Report

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
install.sh 675 Bytes
一键复制 编辑 原始数据 按行查看 历史
Hollow Man 提交于 2021-07-23 19:39 . Latest push
#!/usr/bin/env bash
# Install Dependencies
pip install -r requirements.txt
# Setup Environmental Variables
echo "---Enter your Actions Secrets, empty if it doesn't exists---"
secrets=("CARDID" "PASSWORD" "PPTOKEN" "PPTOPIC" "SERVERCHANSCKEY" "TGBOTTOKEN" "TGCHATID" "SUBSINFO" "CORPID" "CORPSECRET" "AGENTID" "CRONEXP" "DELAYS")
for secret in ${secrets[*]}
do
read -p "-"$secret": " content
echo "export $secret='$content'" >> envar
done
command=""
if [ -f "envar" ]; then
command=$command"source envar && "
command=$command"rm envar && "
fi
command=$command"python clock.py"
# Main Program Execution
eval "nohup bash -c '$command' &"
watch cat nohup.out
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/zhehua666/LZU-Auto-COVID-Health-Report.git
[email protected]:zhehua666/LZU-Auto-COVID-Health-Report.git
zhehua666
LZU-Auto-COVID-Health-Report
LZU-Auto-COVID-Health-Report
main

搜索帮助