This commit is contained in:
Your Name
2026-09-03 08:38:17 +08:00
parent 6cd4f1b1db
commit 842990b0e7
1853 changed files with 278406 additions and 361 deletions
+5
View File
@@ -0,0 +1,5 @@
import hashlib,json
from pathlib import Path
p=Path('/www/server/xingyu-im/bt/xingyu-api')
release=Path('/www/server/xingyu-im/releases')
print(json.dumps({'binarySha256':hashlib.sha256(p.read_bytes()).hexdigest(),'binarySize':p.stat().st_size,'latestReleases':[x.name for x in sorted(release.iterdir(),key=lambda x:x.stat().st_mtime,reverse=True)[:8]]}))