mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2026-05-03 23:45:49 +08:00
🍱 添加contentId
This commit is contained in:
24
src-tauri/Cargo.lock
generated
24
src-tauri/Cargo.lock
generated
@@ -4949,7 +4949,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "tauri-plugin-deep-link"
|
||||
version = "2.0.2"
|
||||
source = "git+https://github.com/tauri-apps/plugins-workspace.git?branch=v2#6dbc304c280e3b6a3b97f7b7dfd1dce8723470da"
|
||||
source = "git+ssh://git@github.com/tauri-apps/plugins-workspace.git?branch=v2#715a0477be8f6f77af0377f4eca2b649554446be"
|
||||
dependencies = [
|
||||
"dunce",
|
||||
"rust-ini",
|
||||
@@ -4968,7 +4968,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "tauri-plugin-dialog"
|
||||
version = "2.0.4"
|
||||
source = "git+https://github.com/tauri-apps/plugins-workspace.git?branch=v2#6dbc304c280e3b6a3b97f7b7dfd1dce8723470da"
|
||||
source = "git+ssh://git@github.com/tauri-apps/plugins-workspace.git?branch=v2#715a0477be8f6f77af0377f4eca2b649554446be"
|
||||
dependencies = [
|
||||
"log",
|
||||
"raw-window-handle",
|
||||
@@ -4985,7 +4985,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "tauri-plugin-fs"
|
||||
version = "2.1.0"
|
||||
source = "git+https://github.com/tauri-apps/plugins-workspace.git?branch=v2#6dbc304c280e3b6a3b97f7b7dfd1dce8723470da"
|
||||
source = "git+ssh://git@github.com/tauri-apps/plugins-workspace.git?branch=v2#715a0477be8f6f77af0377f4eca2b649554446be"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"dunce",
|
||||
@@ -5007,7 +5007,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "tauri-plugin-http"
|
||||
version = "2.0.4"
|
||||
source = "git+https://github.com/tauri-apps/plugins-workspace.git?branch=v2#6dbc304c280e3b6a3b97f7b7dfd1dce8723470da"
|
||||
source = "git+ssh://git@github.com/tauri-apps/plugins-workspace.git?branch=v2#715a0477be8f6f77af0377f4eca2b649554446be"
|
||||
dependencies = [
|
||||
"data-url",
|
||||
"http",
|
||||
@@ -5028,7 +5028,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "tauri-plugin-log"
|
||||
version = "2.0.3"
|
||||
source = "git+https://github.com/tauri-apps/plugins-workspace.git?branch=v2#6dbc304c280e3b6a3b97f7b7dfd1dce8723470da"
|
||||
source = "git+ssh://git@github.com/tauri-apps/plugins-workspace.git?branch=v2#715a0477be8f6f77af0377f4eca2b649554446be"
|
||||
dependencies = [
|
||||
"android_logger",
|
||||
"byte-unit",
|
||||
@@ -5049,7 +5049,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "tauri-plugin-os"
|
||||
version = "2.0.1"
|
||||
source = "git+https://github.com/tauri-apps/plugins-workspace.git?branch=v2#6dbc304c280e3b6a3b97f7b7dfd1dce8723470da"
|
||||
source = "git+ssh://git@github.com/tauri-apps/plugins-workspace.git?branch=v2#715a0477be8f6f77af0377f4eca2b649554446be"
|
||||
dependencies = [
|
||||
"gethostname",
|
||||
"log",
|
||||
@@ -5066,7 +5066,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "tauri-plugin-process"
|
||||
version = "2.0.1"
|
||||
source = "git+https://github.com/tauri-apps/plugins-workspace.git?branch=v2#6dbc304c280e3b6a3b97f7b7dfd1dce8723470da"
|
||||
source = "git+ssh://git@github.com/tauri-apps/plugins-workspace.git?branch=v2#715a0477be8f6f77af0377f4eca2b649554446be"
|
||||
dependencies = [
|
||||
"tauri",
|
||||
"tauri-plugin",
|
||||
@@ -5075,7 +5075,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "tauri-plugin-shell"
|
||||
version = "2.0.2"
|
||||
source = "git+https://github.com/tauri-apps/plugins-workspace.git?branch=v2#6dbc304c280e3b6a3b97f7b7dfd1dce8723470da"
|
||||
source = "git+ssh://git@github.com/tauri-apps/plugins-workspace.git?branch=v2#715a0477be8f6f77af0377f4eca2b649554446be"
|
||||
dependencies = [
|
||||
"encoding_rs",
|
||||
"log",
|
||||
@@ -5095,7 +5095,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "tauri-plugin-single-instance"
|
||||
version = "2.0.2"
|
||||
source = "git+https://github.com/tauri-apps/plugins-workspace.git?branch=v2#6dbc304c280e3b6a3b97f7b7dfd1dce8723470da"
|
||||
source = "git+ssh://git@github.com/tauri-apps/plugins-workspace.git?branch=v2#715a0477be8f6f77af0377f4eca2b649554446be"
|
||||
dependencies = [
|
||||
"serde",
|
||||
"serde_json",
|
||||
@@ -5109,7 +5109,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "tauri-plugin-sql"
|
||||
version = "2.0.3"
|
||||
source = "git+https://github.com/tauri-apps/plugins-workspace.git?branch=v2#6dbc304c280e3b6a3b97f7b7dfd1dce8723470da"
|
||||
source = "git+ssh://git@github.com/tauri-apps/plugins-workspace.git?branch=v2#715a0477be8f6f77af0377f4eca2b649554446be"
|
||||
dependencies = [
|
||||
"futures-core",
|
||||
"indexmap 2.6.0",
|
||||
@@ -5669,9 +5669,9 @@ checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1"
|
||||
|
||||
[[package]]
|
||||
name = "url"
|
||||
version = "2.5.3"
|
||||
version = "2.5.4"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "8d157f1b96d14500ffdc1f10ba712e780825526c03d9a49b4d0324b0d9113ada"
|
||||
checksum = "32f8b686cadd1473f4bd0117a5d28d36b1ade384ea9b5069a1c40aefed7fda60"
|
||||
dependencies = [
|
||||
"form_urlencoded",
|
||||
"idna",
|
||||
|
||||
@@ -10,7 +10,7 @@ edition = "2021"
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[build-dependencies]
|
||||
tauri-build = { version = "2.0.2", features = [] }
|
||||
tauri-build = { version = "2.0.3", features = [] }
|
||||
|
||||
[dependencies]
|
||||
chrono = "0.4.38"
|
||||
@@ -19,68 +19,68 @@ serde = { version = "1.0.215", features = ["derive"] }
|
||||
serde_json = "1.0.133"
|
||||
tauri = { version = "2.1.1", features = [] }
|
||||
tauri-utils = "2.1.0"
|
||||
url = "2.5.3"
|
||||
url = "2.5.4"
|
||||
walkdir = "2.5.0"
|
||||
|
||||
# deep link 插件
|
||||
[dependencies.tauri-plugin-deep-link]
|
||||
#git = "ssh://git@github.com/tauri-apps/plugins-workspace.git"
|
||||
git = "https://github.com/tauri-apps/plugins-workspace.git"
|
||||
git = "ssh://git@github.com/tauri-apps/plugins-workspace.git"
|
||||
#git = "https://github.com/tauri-apps/plugins-workspace.git"
|
||||
branch = "v2"
|
||||
|
||||
# dialog 插件
|
||||
[dependencies.tauri-plugin-dialog]
|
||||
#git = "ssh://git@github.com/tauri-apps/plugins-workspace.git"
|
||||
git = "https://github.com/tauri-apps/plugins-workspace.git"
|
||||
git = "ssh://git@github.com/tauri-apps/plugins-workspace.git"
|
||||
#git = "https://github.com/tauri-apps/plugins-workspace.git"
|
||||
branch = "v2"
|
||||
|
||||
# fs 插件
|
||||
[dependencies.tauri-plugin-fs]
|
||||
#git = "ssh://git@github.com/tauri-apps/plugins-workspace.git"
|
||||
git = "https://github.com/tauri-apps/plugins-workspace.git"
|
||||
git = "ssh://git@github.com/tauri-apps/plugins-workspace.git"
|
||||
#git = "https://github.com/tauri-apps/plugins-workspace.git"
|
||||
branch = "v2"
|
||||
|
||||
# http 插件
|
||||
[dependencies.tauri-plugin-http]
|
||||
#git = "ssh://git@github.com/tauri-apps/plugins-workspace.git"
|
||||
git = "https://github.com/tauri-apps/plugins-workspace.git"
|
||||
git = "ssh://git@github.com/tauri-apps/plugins-workspace.git"
|
||||
#git = "https://github.com/tauri-apps/plugins-workspace.git"
|
||||
branch = "v2"
|
||||
features = ["unsafe-headers"]
|
||||
|
||||
# log 插件
|
||||
[dependencies.tauri-plugin-log]
|
||||
#git = "ssh://git@github.com/tauri-apps/plugins-workspace.git"
|
||||
git = "https://github.com/tauri-apps/plugins-workspace.git"
|
||||
git = "ssh://git@github.com/tauri-apps/plugins-workspace.git"
|
||||
#git = "https://github.com/tauri-apps/plugins-workspace.git"
|
||||
branch = "v2"
|
||||
|
||||
# os 插件
|
||||
[dependencies.tauri-plugin-os]
|
||||
#git = "ssh://git@github.com/tauri-apps/plugins-workspace.git"
|
||||
git = "https://github.com/tauri-apps/plugins-workspace.git"
|
||||
git = "ssh://git@github.com/tauri-apps/plugins-workspace.git"
|
||||
#git = "https://github.com/tauri-apps/plugins-workspace.git"
|
||||
branch = "v2"
|
||||
|
||||
# process 插件
|
||||
[dependencies.tauri-plugin-process]
|
||||
#git = "ssh://git@github.com/tauri-apps/plugins-workspace.git"
|
||||
git = "https://github.com/tauri-apps/plugins-workspace.git"
|
||||
git = "ssh://git@github.com/tauri-apps/plugins-workspace.git"
|
||||
#git = "https://github.com/tauri-apps/plugins-workspace.git"
|
||||
branch = "v2"
|
||||
|
||||
# shell 插件
|
||||
[dependencies.tauri-plugin-shell]
|
||||
#git = "ssh://git@github.com/tauri-apps/plugins-workspace.git"
|
||||
git = "https://github.com/tauri-apps/plugins-workspace.git"
|
||||
git = "ssh://git@github.com/tauri-apps/plugins-workspace.git"
|
||||
#git = "https://github.com/tauri-apps/plugins-workspace.git"
|
||||
branch = "v2"
|
||||
|
||||
# single-instance 插件
|
||||
[dependencies.tauri-plugin-single-instance]
|
||||
#git = "ssh://git@github.com/tauri-apps/plugins-workspace.git"
|
||||
git = "https://github.com/tauri-apps/plugins-workspace.git"
|
||||
git = "ssh://git@github.com/tauri-apps/plugins-workspace.git"
|
||||
#git = "https://github.com/tauri-apps/plugins-workspace.git"
|
||||
branch = "v2"
|
||||
|
||||
# sqlite 插件
|
||||
[dependencies.tauri-plugin-sql]
|
||||
#git = "ssh://git@github.com/tauri-apps/plugins-workspace.git"
|
||||
git = "https://github.com/tauri-apps/plugins-workspace.git"
|
||||
git = "ssh://git@github.com/tauri-apps/plugins-workspace.git"
|
||||
#git = "https://github.com/tauri-apps/plugins-workspace.git"
|
||||
branch = "v2"
|
||||
features = ["sqlite"]
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
//! @file src/client/mod.rs
|
||||
//! @desc 客户端模块,负责操作米游社客户端
|
||||
//! @since Beta v0.6.2
|
||||
//! @since Beta v0.6.5
|
||||
|
||||
mod menu;
|
||||
mod utils;
|
||||
@@ -12,7 +12,7 @@ use tauri_utils::config::WebviewUrl;
|
||||
pub async fn create_mhy_client(handle: AppHandle, func: String, url: String) {
|
||||
let mut win_width = 400.0;
|
||||
let mut win_height = 800.0;
|
||||
let win_ua = "Mozilla/5.0 (Linux; Android 12) Mobile miHoYoBBS/2.77.2";
|
||||
let win_ua = "Mozilla/5.0 (Linux; Android 12) Mobile miHoYoBBS/2.78.1";
|
||||
let url_parse;
|
||||
if url != "" {
|
||||
url_parse = WebviewUrl::External(url.parse().unwrap());
|
||||
|
||||
Reference in New Issue
Block a user