feat: 简化配置,支持 daemon 运行

This commit is contained in:
amtoaer
2023-11-22 21:53:37 +08:00
parent 6f8b4afa1c
commit 5cc429e353
5 changed files with 47 additions and 41 deletions

10
main.py
View File

@@ -1,10 +1,4 @@
import asyncio
from processor import process
async def main() -> None:
await process()
from entry import start
if __name__ == "__main__":
asyncio.run(main())
start()