添加酒馆、留影叙佳期入口

This commit is contained in:
BTMuli
2023-10-28 18:58:52 +08:00
parent 2a8b97abe9
commit 0b041a3f01
5 changed files with 75 additions and 7 deletions

View File

@@ -29,6 +29,11 @@ pub async fn create_mhy_client(handle: AppHandle, func: String, url: String) {
} else {
mhy_window_config.url = get_mhy_client_url(func.clone());
}
if func == "birthday" {
mhy_window_config.width = 1280.0;
mhy_window_config.height = 720.0;
mhy_window_config.resizable = false;
}
let has_mhy_client = handle.get_window("mhy_client").is_some();
if has_mhy_client {
dbg!("mhy_client exists");