🔖 v1.9.1 (fix #1076)

This commit is contained in:
源文雨 2025-01-16 17:32:05 +09:00
parent d6c13337d1
commit 2c5596cd96
4 changed files with 14 additions and 14 deletions

2
data

@ -1 +1 @@
Subproject commit 8d31381a08234d86b72ca05424b8bb513428fba7 Subproject commit ca3652920a2be63314adc32dc4b78ff7f2be4aff

View File

@ -3,13 +3,13 @@
package banner package banner
// Version ... // Version ...
var Version = "v1.8.4" var Version = "v1.9.1"
// Copyright ... // Copyright ...
var Copyright = "© 2020 - 2024 FloatTech" var Copyright = "© 2020 - 2025 FloatTech"
// Banner ... // Banner ...
var Banner = "* OneBot + ZeroBot + Golang\n" + var Banner = "* OneBot + ZeroBot + Golang\n" +
"* Version " + Version + " - 2024-10-05 21:11:11 +0900 JST\n" + "* Version " + Version + " - 2025-01-16 17:31:42 +0900 JST\n" +
"* Copyright " + Copyright + ". All Rights Reserved.\n" + "* Copyright " + Copyright + ". All Rights Reserved.\n" +
"* Project: https://github.com/FloatTech/ZeroBot-Plugin" "* Project: https://github.com/FloatTech/ZeroBot-Plugin"

View File

@ -5,7 +5,7 @@ import (
"encoding/json" "encoding/json"
"math/rand" "math/rand"
"os" "os"
"path/filepath" "path"
"strconv" "strconv"
"strings" "strings"
@ -63,14 +63,14 @@ func init() {
for _, at := range arcanaType { for _, at := range arcanaType {
if at == "MinorArcana" { if at == "MinorArcana" {
for _, mat := range minorArcanaType { for _, mat := range minorArcanaType {
cachePath := filepath.Join(engine.DataFolder(), r, at, mat) cachePath := path.Join(engine.DataFolder(), r, at, mat)
err := os.MkdirAll(cachePath, 0755) err := os.MkdirAll(cachePath, 0755)
if err != nil { if err != nil {
panic(err) panic(err)
} }
} }
} else { } else {
cachePath := filepath.Join(engine.DataFolder(), r, at) cachePath := path.Join(engine.DataFolder(), r, at)
err := os.MkdirAll(cachePath, 0755) err := os.MkdirAll(cachePath, 0755)
if err != nil { if err != nil {
panic(err) panic(err)

View File

@ -12,7 +12,7 @@
"0409": { "0409": {
"identity": { "identity": {
"name": "ZeroBot-Plugin", "name": "ZeroBot-Plugin",
"version": "1.8.4.2070" "version": "1.9.1.2146"
}, },
"description": "", "description": "",
"minimum-os": "vista", "minimum-os": "vista",
@ -36,23 +36,23 @@
"#1": { "#1": {
"0000": { "0000": {
"fixed": { "fixed": {
"file_version": "1.8.4.2070", "file_version": "1.9.1.2146",
"product_version": "v1.8.4", "product_version": "v1.9.1",
"timestamp": "2024-10-05T21:11:25+08:00" "timestamp": "2025-01-16T17:31:58+08:00"
}, },
"info": { "info": {
"0409": { "0409": {
"Comments": "OneBot plugins based on ZeroBot", "Comments": "OneBot plugins based on ZeroBot",
"CompanyName": "FloatTech", "CompanyName": "FloatTech",
"FileDescription": "https://github.com/FloatTech/ZeroBot-Plugin", "FileDescription": "https://github.com/FloatTech/ZeroBot-Plugin",
"FileVersion": "1.8.4.2070", "FileVersion": "1.9.1.2146",
"InternalName": "", "InternalName": "",
"LegalCopyright": "© 2020 - 2024 FloatTech. All Rights Reserved.", "LegalCopyright": "© 2020 - 2025 FloatTech. All Rights Reserved.",
"LegalTrademarks": "", "LegalTrademarks": "",
"OriginalFilename": "ZBP.EXE", "OriginalFilename": "ZBP.EXE",
"PrivateBuild": "", "PrivateBuild": "",
"ProductName": "ZeroBot-Plugin", "ProductName": "ZeroBot-Plugin",
"ProductVersion": "v1.8.4", "ProductVersion": "v1.9.1",
"SpecialBuild": "" "SpecialBuild": ""
} }
} }