feat: generate check time

This commit is contained in:
neoFelhz 2017-10-31 17:55:16 +08:00
parent ae86a79e2f
commit 9e1f5b95f9

View file

@ -134,3 +134,8 @@ curl "https://tools.google.com/service/update2" --data "<?xml version='1.0' enco
<updatecheck/>
</app>
</request>" > ./public/canary-x64.xml
DATE="$(echo $(date --rfc-2822))"
echo '<?xml version="1.0" encoding="UTF-8"?><time>' > ./public/checktime.xml
echo $DATE >> ./public/checktime.xml
echo '</time>' >> ./public/checktime.xml