完善部分功能,将资源文件进行迁移
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
from zhenxun.utils._build_image import BuildImage
|
||||
|
||||
from .config import g_sResourcePath
|
||||
|
||||
|
||||
class CDrawImageManager:
|
||||
@classmethod
|
||||
async def drawMyFarm(cls) -> bytes:
|
||||
img = BuildImage(background=g_sResourcePath / "background/background.jpg")
|
||||
|
||||
return img.pic2bytes()
|
||||
Reference in New Issue
Block a user