🍱 添加contentId

This commit is contained in:
目棃
2024-12-04 10:07:10 +08:00
parent 1e47b4fd29
commit 2a83fcbcb8
8 changed files with 772 additions and 678 deletions

View File

@@ -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());