mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-11 09:08:14 +08:00
⬆️ 更新UA
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
//! @file src/client/mod.rs
|
//! @file src/client/mod.rs
|
||||||
//! @desc 客户端模块,负责操作米游社客户端
|
//! @desc 客户端模块,负责操作米游社客户端
|
||||||
//! @since Beta v0.7.3
|
//! @since Beta v0.7.7
|
||||||
|
|
||||||
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.85.1";
|
static BBS_VERSION: &'static str = "2.87.0";
|
||||||
|
|
||||||
#[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) {
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
*/
|
*/
|
||||||
export type SaltKey = "K2" | "LK2" | "X4" | "X6" | "PROD";
|
export type SaltKey = "K2" | "LK2" | "X4" | "X6" | "PROD";
|
||||||
|
|
||||||
const BBS_VERSION: Readonly<string> = "2.86.0";
|
const BBS_VERSION: Readonly<string> = "2.87.0";
|
||||||
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}`;
|
||||||
const BBS_UA_PC: Readonly<string> = `Mozilla/5.0 (Windows NT 10.0; Win64; x64) miHoYoBBS/${BBS_VERSION}`;
|
const BBS_UA_PC: Readonly<string> = `Mozilla/5.0 (Windows NT 10.0; Win64; x64) miHoYoBBS/${BBS_VERSION}`;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user