⬆️ 更新依赖

This commit is contained in:
目棃
2025-02-12 13:33:42 +08:00
parent 8eb1d19512
commit 89d1b2c6a7
6 changed files with 672 additions and 604 deletions

View File

@@ -3,7 +3,7 @@
"version": "0.6.9", "version": "0.6.9",
"description": "Game Tool for GenshinImpact player", "description": "Game Tool for GenshinImpact player",
"private": true, "private": true,
"packageManager": "pnpm@10.2.0", "packageManager": "pnpm@10.3.0",
"type": "module", "type": "module",
"scripts": { "scripts": {
"build": "tauri build", "build": "tauri build",
@@ -81,38 +81,38 @@
"ajv": "^8.17.1", "ajv": "^8.17.1",
"artplayer": "^5.2.2", "artplayer": "^5.2.2",
"clipboard": "^2.0.11", "clipboard": "^2.0.11",
"color-convert": "^2.0.1", "color-convert": "^3.0.1",
"echarts": "^5.6.0", "echarts": "^5.6.0",
"html2canvas": "^1.4.1", "html2canvas": "^1.4.1",
"js-md5": "^0.8.3", "js-md5": "^0.8.3",
"jsencrypt": "^3.3.2", "jsencrypt": "^3.3.2",
"pinia": "^2.3.1", "pinia": "^3.0.0",
"pinia-plugin-persistedstate": "^4.2.0", "pinia-plugin-persistedstate": "^4.2.0",
"qrcode.vue": "^3.6.0", "qrcode.vue": "^3.6.0",
"sass": "^1.83.4", "sass": "^1.84.0",
"sass-loader": "^16.0.4", "sass-loader": "^16.0.4",
"uuid": "^11.0.5", "uuid": "^11.0.5",
"vue": "^3.5.13", "vue": "^3.5.13",
"vue-echarts": "^7.0.3", "vue-echarts": "^7.0.3",
"vue-json-viewer": "^3.0.4", "vue-json-viewer": "^3.0.4",
"vue-router": "^4.5.0", "vue-router": "^4.5.0",
"vuetify": "^3.7.9", "vuetify": "^3.7.12",
"wcag-color": "^1.1.1", "wcag-color": "^1.1.1",
"xml-js": "^1.6.11" "xml-js": "^1.6.11"
}, },
"devDependencies": { "devDependencies": {
"@eslint/eslintrc": "^3.2.0", "@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.19.0", "@eslint/js": "^9.20.0",
"@tauri-apps/cli": "2.2.7", "@tauri-apps/cli": "2.2.7",
"@types/color-convert": "^2.0.4", "@types/color-convert": "^2.0.4",
"@types/fs-extra": "^11.0.4", "@types/fs-extra": "^11.0.4",
"@types/js-md5": "^0.7.2", "@types/js-md5": "^0.7.2",
"@types/node": "^22.13.0", "@types/node": "^22.13.1",
"@types/uuid": "^10.0.0", "@types/uuid": "^10.0.0",
"@typescript-eslint/parser": "^8.23.0", "@typescript-eslint/parser": "^8.24.0",
"@vitejs/plugin-vue": "^5.2.1", "@vitejs/plugin-vue": "^5.2.1",
"concurrently": "^9.1.2", "concurrently": "^9.1.2",
"eslint": "^9.19.0", "eslint": "^9.20.1",
"eslint-plugin-import": "^2.31.0", "eslint-plugin-import": "^2.31.0",
"eslint-plugin-jsonc": "^2.19.1", "eslint-plugin-jsonc": "^2.19.1",
"eslint-plugin-prettier": "^5.2.3", "eslint-plugin-prettier": "^5.2.3",
@@ -123,8 +123,8 @@
"husky": "^9.1.7", "husky": "^9.1.7",
"jsonc-eslint-parser": "^2.4.0", "jsonc-eslint-parser": "^2.4.0",
"lint-staged": "^15.4.3", "lint-staged": "^15.4.3",
"oxlint": "^0.15.9", "oxlint": "^0.15.10",
"prettier": "3.4.2", "prettier": "3.5.0",
"stylelint": "^16.14.1", "stylelint": "^16.14.1",
"stylelint-config-idiomatic-order": "^10.0.0", "stylelint-config-idiomatic-order": "^10.0.0",
"stylelint-config-standard-vue": "^1.0.0", "stylelint-config-standard-vue": "^1.0.0",
@@ -135,10 +135,10 @@
"stylelint-scss": "^6.11.0", "stylelint-scss": "^6.11.0",
"tsx": "^4.19.2", "tsx": "^4.19.2",
"typescript": "^5.7.3", "typescript": "^5.7.3",
"typescript-eslint": "^8.23.0", "typescript-eslint": "^8.24.0",
"vite": "^6.0.11", "vite": "^6.1.0",
"vite-plugin-vue-devtools": "^7.7.1", "vite-plugin-vue-devtools": "^7.7.1",
"vite-plugin-vuetify": "^2.0.4", "vite-plugin-vuetify": "^2.1.0",
"vue-eslint-parser": "^9.4.3", "vue-eslint-parser": "^9.4.3",
"yaml-eslint-parser": "^1.2.3" "yaml-eslint-parser": "^1.2.3"
} }

1096
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

125
src-tauri/Cargo.lock generated
View File

@@ -600,14 +600,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5fbd1fe9db3ebf71b89060adaf7b0504c2d6a425cf061313099547e382c2e472" checksum = "5fbd1fe9db3ebf71b89060adaf7b0504c2d6a425cf061313099547e382c2e472"
dependencies = [ dependencies = [
"serde", "serde",
"toml 0.8.19", "toml 0.8.20",
] ]
[[package]] [[package]]
name = "cc" name = "cc"
version = "1.2.11" version = "1.2.13"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e4730490333d58093109dc02c23174c3f4d490998c3fed3cc8e82d57afedb9cf" checksum = "c7777341816418c02e033934a09f20dc0ccaf65a5201ef8a450ae0105a573fda"
dependencies = [ dependencies = [
"shlex", "shlex",
] ]
@@ -1198,7 +1198,7 @@ dependencies = [
"cc", "cc",
"memchr", "memchr",
"rustc_version", "rustc_version",
"toml 0.8.19", "toml 0.8.20",
"vswhom", "vswhom",
"winreg", "winreg",
] ]
@@ -2601,9 +2601,9 @@ checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a"
[[package]] [[package]]
name = "miniz_oxide" name = "miniz_oxide"
version = "0.8.3" version = "0.8.4"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b8402cab7aefae129c6977bb0ff1b8fd9a04eb5b51efc50a70bea51cda0c7924" checksum = "b3b1c9bd4fe1f0f8b387f6eb9eb3b4a1aa26185e5750efb9140301703f62cd1b"
dependencies = [ dependencies = [
"adler2", "adler2",
"simd-adler32", "simd-adler32",
@@ -3017,9 +3017,9 @@ dependencies = [
[[package]] [[package]]
name = "once_cell" name = "once_cell"
version = "1.20.2" version = "1.20.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1261fe7e33c73b354eab43b1273a57c8f967d0391e80353e51f764ac02cf6775" checksum = "945462a4b81e43c4e3ba96bd7b49d834c6f61198356aa858733bc4acf3cbe62e"
[[package]] [[package]]
name = "open" name = "open"
@@ -3061,9 +3061,9 @@ dependencies = [
[[package]] [[package]]
name = "os_info" name = "os_info"
version = "3.9.2" version = "3.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6e6520c8cc998c5741ee68ec1dc369fc47e5f0ea5320018ecf2a1ccd6328f48b" checksum = "2a604e53c24761286860eba4e2c8b23a0161526476b1de520139d69cdb85a6b5"
dependencies = [ dependencies = [
"log", "log",
"serde", "serde",
@@ -3426,7 +3426,7 @@ version = "3.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8ecf48c7ca261d60b74ab1a7b20da18bede46776b2e55535cb958eb595c5fa7b" checksum = "8ecf48c7ca261d60b74ab1a7b20da18bede46776b2e55535cb958eb595c5fa7b"
dependencies = [ dependencies = [
"toml_edit 0.22.23", "toml_edit 0.22.24",
] ]
[[package]] [[package]]
@@ -3919,9 +3919,9 @@ checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f"
[[package]] [[package]]
name = "rustc-hash" name = "rustc-hash"
version = "2.1.0" version = "2.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c7fb8039b3032c191086b10f11f319a6e99e1e82889c5cc6046f515c9db1d497" checksum = "357703d41365b4b27c590e3ed91eabb1b663f07c4c084095e60cbed4362dff0d"
[[package]] [[package]]
name = "rustc_version" name = "rustc_version"
@@ -3947,9 +3947,9 @@ dependencies = [
[[package]] [[package]]
name = "rustls" name = "rustls"
version = "0.23.22" version = "0.23.23"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9fb9263ab4eb695e42321db096e3b8fbd715a59b154d5c88d82db2175b681ba7" checksum = "47796c98c480fce5406ef69d1c76378375492c3b0a0de587be0c1d9feb12f395"
dependencies = [ dependencies = [
"once_cell", "once_cell",
"ring", "ring",
@@ -4750,7 +4750,7 @@ dependencies = [
"cfg-expr", "cfg-expr",
"heck 0.5.0", "heck 0.5.0",
"pkg-config", "pkg-config",
"toml 0.8.19", "toml 0.8.20",
"version-compare", "version-compare",
] ]
@@ -4883,7 +4883,7 @@ dependencies = [
"serde_json", "serde_json",
"tauri-utils", "tauri-utils",
"tauri-winres", "tauri-winres",
"toml 0.8.19", "toml 0.8.20",
"walkdir", "walkdir",
] ]
@@ -4941,14 +4941,14 @@ dependencies = [
"serde", "serde",
"serde_json", "serde_json",
"tauri-utils", "tauri-utils",
"toml 0.8.19", "toml 0.8.20",
"walkdir", "walkdir",
] ]
[[package]] [[package]]
name = "tauri-plugin-deep-link" name = "tauri-plugin-deep-link"
version = "2.2.0" version = "2.2.0"
source = "git+ssh://git@github.com/tauri-apps/plugins-workspace.git?branch=v2#93edbd1434dfeabb4de1096726f47a93090a57b7" source = "git+ssh://git@github.com/tauri-apps/plugins-workspace.git?branch=v2#6b4c3917389f4bc489d03b48a837557ac0584175"
dependencies = [ dependencies = [
"dunce", "dunce",
"rust-ini", "rust-ini",
@@ -4967,7 +4967,7 @@ dependencies = [
[[package]] [[package]]
name = "tauri-plugin-dialog" name = "tauri-plugin-dialog"
version = "2.2.0" version = "2.2.0"
source = "git+ssh://git@github.com/tauri-apps/plugins-workspace.git?branch=v2#93edbd1434dfeabb4de1096726f47a93090a57b7" source = "git+ssh://git@github.com/tauri-apps/plugins-workspace.git?branch=v2#6b4c3917389f4bc489d03b48a837557ac0584175"
dependencies = [ dependencies = [
"log", "log",
"raw-window-handle", "raw-window-handle",
@@ -4984,7 +4984,7 @@ dependencies = [
[[package]] [[package]]
name = "tauri-plugin-fs" name = "tauri-plugin-fs"
version = "2.2.0" version = "2.2.0"
source = "git+ssh://git@github.com/tauri-apps/plugins-workspace.git?branch=v2#93edbd1434dfeabb4de1096726f47a93090a57b7" source = "git+ssh://git@github.com/tauri-apps/plugins-workspace.git?branch=v2#6b4c3917389f4bc489d03b48a837557ac0584175"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"dunce", "dunce",
@@ -4998,7 +4998,7 @@ dependencies = [
"tauri-plugin", "tauri-plugin",
"tauri-utils", "tauri-utils",
"thiserror 2.0.11", "thiserror 2.0.11",
"toml 0.8.19", "toml 0.8.20",
"url", "url",
"uuid", "uuid",
] ]
@@ -5006,7 +5006,7 @@ dependencies = [
[[package]] [[package]]
name = "tauri-plugin-http" name = "tauri-plugin-http"
version = "2.3.0" version = "2.3.0"
source = "git+ssh://git@github.com/tauri-apps/plugins-workspace.git?branch=v2#93edbd1434dfeabb4de1096726f47a93090a57b7" source = "git+ssh://git@github.com/tauri-apps/plugins-workspace.git?branch=v2#6b4c3917389f4bc489d03b48a837557ac0584175"
dependencies = [ dependencies = [
"data-url", "data-url",
"http", "http",
@@ -5027,7 +5027,7 @@ dependencies = [
[[package]] [[package]]
name = "tauri-plugin-log" name = "tauri-plugin-log"
version = "2.2.1" version = "2.2.1"
source = "git+ssh://git@github.com/tauri-apps/plugins-workspace.git?branch=v2#93edbd1434dfeabb4de1096726f47a93090a57b7" source = "git+ssh://git@github.com/tauri-apps/plugins-workspace.git?branch=v2#6b4c3917389f4bc489d03b48a837557ac0584175"
dependencies = [ dependencies = [
"android_logger", "android_logger",
"byte-unit", "byte-unit",
@@ -5048,7 +5048,7 @@ dependencies = [
[[package]] [[package]]
name = "tauri-plugin-os" name = "tauri-plugin-os"
version = "2.2.0" version = "2.2.0"
source = "git+ssh://git@github.com/tauri-apps/plugins-workspace.git?branch=v2#93edbd1434dfeabb4de1096726f47a93090a57b7" source = "git+ssh://git@github.com/tauri-apps/plugins-workspace.git?branch=v2#6b4c3917389f4bc489d03b48a837557ac0584175"
dependencies = [ dependencies = [
"gethostname", "gethostname",
"log", "log",
@@ -5065,7 +5065,7 @@ dependencies = [
[[package]] [[package]]
name = "tauri-plugin-process" name = "tauri-plugin-process"
version = "2.2.0" version = "2.2.0"
source = "git+ssh://git@github.com/tauri-apps/plugins-workspace.git?branch=v2#93edbd1434dfeabb4de1096726f47a93090a57b7" source = "git+ssh://git@github.com/tauri-apps/plugins-workspace.git?branch=v2#6b4c3917389f4bc489d03b48a837557ac0584175"
dependencies = [ dependencies = [
"tauri", "tauri",
"tauri-plugin", "tauri-plugin",
@@ -5074,7 +5074,7 @@ dependencies = [
[[package]] [[package]]
name = "tauri-plugin-shell" name = "tauri-plugin-shell"
version = "2.2.0" version = "2.2.0"
source = "git+ssh://git@github.com/tauri-apps/plugins-workspace.git?branch=v2#93edbd1434dfeabb4de1096726f47a93090a57b7" source = "git+ssh://git@github.com/tauri-apps/plugins-workspace.git?branch=v2#6b4c3917389f4bc489d03b48a837557ac0584175"
dependencies = [ dependencies = [
"encoding_rs", "encoding_rs",
"log", "log",
@@ -5094,7 +5094,7 @@ dependencies = [
[[package]] [[package]]
name = "tauri-plugin-single-instance" name = "tauri-plugin-single-instance"
version = "2.2.1" version = "2.2.1"
source = "git+ssh://git@github.com/tauri-apps/plugins-workspace.git?branch=v2#93edbd1434dfeabb4de1096726f47a93090a57b7" source = "git+ssh://git@github.com/tauri-apps/plugins-workspace.git?branch=v2#6b4c3917389f4bc489d03b48a837557ac0584175"
dependencies = [ dependencies = [
"serde", "serde",
"serde_json", "serde_json",
@@ -5108,7 +5108,7 @@ dependencies = [
[[package]] [[package]]
name = "tauri-plugin-sql" name = "tauri-plugin-sql"
version = "2.2.0" version = "2.2.0"
source = "git+ssh://git@github.com/tauri-apps/plugins-workspace.git?branch=v2#93edbd1434dfeabb4de1096726f47a93090a57b7" source = "git+ssh://git@github.com/tauri-apps/plugins-workspace.git?branch=v2#6b4c3917389f4bc489d03b48a837557ac0584175"
dependencies = [ dependencies = [
"futures-core", "futures-core",
"indexmap 2.7.1", "indexmap 2.7.1",
@@ -5198,7 +5198,7 @@ dependencies = [
"serde_with", "serde_with",
"swift-rs", "swift-rs",
"thiserror 2.0.11", "thiserror 2.0.11",
"toml 0.8.19", "toml 0.8.20",
"url", "url",
"urlpattern", "urlpattern",
"uuid", "uuid",
@@ -5430,14 +5430,14 @@ dependencies = [
[[package]] [[package]]
name = "toml" name = "toml"
version = "0.8.19" version = "0.8.20"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a1ed1f98e3fdc28d6d910e6737ae6ab1a93bf1985935a1193e68f93eeb68d24e" checksum = "cd87a5cdd6ffab733b2f74bc4fd7ee5fff6634124999ac278c35fc78c6120148"
dependencies = [ dependencies = [
"serde", "serde",
"serde_spanned", "serde_spanned",
"toml_datetime", "toml_datetime",
"toml_edit 0.22.23", "toml_edit 0.22.24",
] ]
[[package]] [[package]]
@@ -5475,15 +5475,15 @@ dependencies = [
[[package]] [[package]]
name = "toml_edit" name = "toml_edit"
version = "0.22.23" version = "0.22.24"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "02a8b472d1a3d7c18e2d61a489aee3453fd9031c33e4f55bd533f4a7adca1bee" checksum = "17b4795ff5edd201c7cd6dca065ae59972ce77d1b80fa0a84d94950ece7d1474"
dependencies = [ dependencies = [
"indexmap 2.7.1", "indexmap 2.7.1",
"serde", "serde",
"serde_spanned", "serde_spanned",
"toml_datetime", "toml_datetime",
"winnow 0.7.1", "winnow 0.7.2",
] ]
[[package]] [[package]]
@@ -5731,11 +5731,11 @@ checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be"
[[package]] [[package]]
name = "uuid" name = "uuid"
version = "1.12.1" version = "1.13.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b3758f5e68192bb96cc8f9b7e2c2cfdabb435499a28499a42f8f984092adad4b" checksum = "ced87ca4be083373936a67f8de945faa23b6b42384bd5b64434850802c6dccd0"
dependencies = [ dependencies = [
"getrandom 0.2.15", "getrandom 0.3.1",
"serde", "serde",
] ]
@@ -6548,18 +6548,9 @@ dependencies = [
[[package]] [[package]]
name = "winnow" name = "winnow"
version = "0.6.26" version = "0.7.2"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1e90edd2ac1aa278a5c4599b1d89cf03074b610800f866d4026dc199d7929a28" checksum = "59690dea168f2198d1a3b0cac23b8063efcd11012f10ae4698f284808c8ef603"
dependencies = [
"memchr",
]
[[package]]
name = "winnow"
version = "0.7.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "86e376c75f4f43f44db463cf729e0d3acbf954d13e22c51e26e4c264b4ab545f"
dependencies = [ dependencies = [
"memchr", "memchr",
] ]
@@ -6704,9 +6695,9 @@ dependencies = [
[[package]] [[package]]
name = "zbus" name = "zbus"
version = "5.3.1" version = "5.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2494e4b3f44d8363eef79a8a75fc0649efb710eef65a66b5e688a5eb4afe678a" checksum = "59c333f648ea1b647bc95dc1d34807c8e25ed7a6feff3394034dc4776054b236"
dependencies = [ dependencies = [
"async-broadcast", "async-broadcast",
"async-executor", "async-executor",
@@ -6721,7 +6712,7 @@ dependencies = [
"enumflags2", "enumflags2",
"event-listener", "event-listener",
"futures-core", "futures-core",
"futures-util", "futures-lite",
"hex", "hex",
"nix", "nix",
"ordered-stream", "ordered-stream",
@@ -6732,7 +6723,7 @@ dependencies = [
"tracing", "tracing",
"uds_windows", "uds_windows",
"windows-sys 0.59.0", "windows-sys 0.59.0",
"winnow 0.6.26", "winnow 0.7.2",
"xdg-home", "xdg-home",
"zbus_macros", "zbus_macros",
"zbus_names", "zbus_names",
@@ -6741,9 +6732,9 @@ dependencies = [
[[package]] [[package]]
name = "zbus_macros" name = "zbus_macros"
version = "5.3.1" version = "5.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "445efc01929302aee95e2b25bbb62a301ea8a6369466e4278e58e7d1dfb23631" checksum = "f325ad10eb0d0a3eb060203494c3b7ec3162a01a59db75d2deee100339709fc0"
dependencies = [ dependencies = [
"proc-macro-crate 3.2.0", "proc-macro-crate 3.2.0",
"proc-macro2", "proc-macro2",
@@ -6756,13 +6747,13 @@ dependencies = [
[[package]] [[package]]
name = "zbus_names" name = "zbus_names"
version = "4.1.1" version = "4.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "519629a3f80976d89c575895b05677cbc45eaf9f70d62a364d819ba646409cc8" checksum = "7be68e64bf6ce8db94f63e72f0c7eb9a60d733f7e0499e628dfab0f84d6bcb97"
dependencies = [ dependencies = [
"serde", "serde",
"static_assertions", "static_assertions",
"winnow 0.6.26", "winnow 0.7.2",
"zvariant", "zvariant",
] ]
@@ -6838,25 +6829,25 @@ dependencies = [
[[package]] [[package]]
name = "zvariant" name = "zvariant"
version = "5.2.0" version = "5.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "55e6b9b5f1361de2d5e7d9fd1ee5f6f7fcb6060618a1f82f3472f58f2b8d4be9" checksum = "b2df9ee044893fcffbdc25de30546edef3e32341466811ca18421e3cd6c5a3ac"
dependencies = [ dependencies = [
"endi", "endi",
"enumflags2", "enumflags2",
"serde", "serde",
"static_assertions", "static_assertions",
"url", "url",
"winnow 0.6.26", "winnow 0.7.2",
"zvariant_derive", "zvariant_derive",
"zvariant_utils", "zvariant_utils",
] ]
[[package]] [[package]]
name = "zvariant_derive" name = "zvariant_derive"
version = "5.2.0" version = "5.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "573a8dd76961957108b10f7a45bac6ab1ea3e9b7fe01aff88325dc57bb8f5c8b" checksum = "74170caa85b8b84cc4935f2d56a57c7a15ea6185ccdd7eadb57e6edd90f94b2f"
dependencies = [ dependencies = [
"proc-macro-crate 3.2.0", "proc-macro-crate 3.2.0",
"proc-macro2", "proc-macro2",
@@ -6867,14 +6858,14 @@ dependencies = [
[[package]] [[package]]
name = "zvariant_utils" name = "zvariant_utils"
version = "3.1.0" version = "3.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ddd46446ea2a1f353bfda53e35f17633afa79f4fe290a611c94645c69fe96a50" checksum = "e16edfee43e5d7b553b77872d99bc36afdda75c223ca7ad5e3fbecd82ca5fc34"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
"serde", "serde",
"static_assertions", "static_assertions",
"syn 2.0.98", "syn 2.0.98",
"winnow 0.6.26", "winnow 0.7.2",
] ]

View File

@@ -1,6 +1,6 @@
//! @file src/client/mod.rs //! @file src/client/mod.rs
//! @desc 客户端模块,负责操作米游社客户端 //! @desc 客户端模块,负责操作米游社客户端
//! @since Beta v0.6.8 //! @since Beta v0.6.10
mod menu; mod menu;
mod utils; mod utils;
@@ -8,7 +8,7 @@ mod utils;
use tauri::{AppHandle, Manager, WebviewWindowBuilder}; use tauri::{AppHandle, Manager, WebviewWindowBuilder};
use tauri_utils::config::WebviewUrl; use tauri_utils::config::WebviewUrl;
static BBS_VERSION: &'static str = "2.80.1"; static BBS_VERSION: &'static str = "2.81.1";
#[tauri::command] #[tauri::command]
pub async fn create_mhy_client(handle: AppHandle, func: String, url: String) { pub async fn create_mhy_client(handle: AppHandle, func: String, url: String) {

View File

@@ -1,10 +1,10 @@
/** /**
* @file utils/TGBbs.ts * @file utils/TGBbs.ts
* @description 关于 BBS 的工具函数 * @description 关于 BBS 的工具函数
* @since Beta v0.6.8 * @since Beta v0.6.10
*/ */
const BBS_VERSION: Readonly<string> = "2.80.1"; const BBS_VERSION: Readonly<string> = "2.81.1";
const BBS_UA_MOBILE: Readonly<string> = `Mozilla/5.0 (Linux; Android 12) Mobile miHoYoBBS/${BBS_VERSION}`; const BBS_UA_MOBILE: Readonly<string> = `Mozilla/5.0 (Linux; Android 12) Mobile miHoYoBBS/${BBS_VERSION}`;
/** /**
@@ -33,17 +33,6 @@ const CHANNEL_LIST: Readonly<Array<ChannelItem>> = [
{ title: "大别野", gid: 5, mini: "dby" }, { title: "大别野", gid: 5, mini: "dby" },
]; ];
/**
* @description 获取游戏id
* @since Beta v0.6.8
* @param {string} mini
* @returns {string}
*/
export function getGameId(mini: string): number {
const game = CHANNEL_LIST.find((item) => item.mini === mini);
return game ? game.gid : 0;
}
const TGBbs = { version: BBS_VERSION, ua: BBS_UA_MOBILE, channels: CHANNEL_LIST }; const TGBbs = { version: BBS_VERSION, ua: BBS_UA_MOBILE, channels: CHANNEL_LIST };
export default TGBbs; export default TGBbs;

View File

@@ -24,12 +24,12 @@ const enum SaltType {
/** /**
* @description salt 值 * @description salt 值
* @version 2.80.1 * @version 2.81.1
* @since Beta v0.6.7 * @since Beta v0.6.10
*/ */
const Salt: Readonly<Record<keyof typeof SaltType, string>> = { const Salt: Readonly<Record<keyof typeof SaltType, string>> = {
K2: "G1rXOpMLQS77VPWEGycOSxekCTZe2Q8M", K2: "QVu5OdwEWxkq9ygpYBgDprR5tI471HWQ",
LK2: "sd1e1gQJuvqBfZxas1oeAACXzbim5cge", LK2: "aquFmwOjyqev4CAL6GQ2v5mdkxpCVXCY",
X4: "xV8v4Qu54lUKrEYFZkJhB8cuOh9Asafs", X4: "xV8v4Qu54lUKrEYFZkJhB8cuOh9Asafs",
X6: "t0qEgfub6cvueAPgR5m9aQWWVciEer7v", X6: "t0qEgfub6cvueAPgR5m9aQWWVciEer7v",
PROD: "t0qEgfub6cvueAPgR5m9aQWWVciEer7v", PROD: "t0qEgfub6cvueAPgR5m9aQWWVciEer7v",