mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-19 13:59:39 +08:00
✏️ 修正zip缓存位置
This commit is contained in:
parent
65b92b9da3
commit
fa6d14d89a
@ -109,7 +109,7 @@ func init() {
|
||||
folder := base + kind
|
||||
if _, err := os.Stat(folder); err != nil && !os.IsExist(err) {
|
||||
ctx.SendChain(message.Text("正在下载背景图片,请稍后..."))
|
||||
zipfile := kind + ".zip"
|
||||
zipfile := folder + ".zip"
|
||||
err := dl.DownloadTo(site+zipfile, zipfile)
|
||||
if err != nil {
|
||||
ctx.SendChain(message.Text("ERROR: ", err))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user