XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet
公开
关注 0 Fork 0 Star 0
返回提交历史

XFEstudio/gpt4free

Update update.sh

60854f08
hlohaus <983577+hlohaus@users.noreply.github.com>
提交于

代码差异

1 个文件 +13 -4
Modified docker/update.sh +13 -4
@@ -1,6 +1,15 @@
1 1 #!/usr/bin/env bash
2 while :
3 do
4 python -m etc.tool.update
5 sleep 600
2 control_c() {
3 kill $PID
4 exit
5 }
6
7 trap control_c SIGINT
8
9 while true ; do
10 python -m etc.tool.update
11 sleep 600 | while read line ; do
12 PID=$!
13 echo $line
14 ...
6 15 done