mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2026-03-16 04:03:17 +08:00
🚨 修复macOS编译异常
This commit is contained in:
@@ -90,6 +90,7 @@ pub fn run() {
|
||||
tray::create_tray(_app.handle())
|
||||
.expect("Failed to initialize system tray icon. Please check if the tray icon file exists and the system supports tray icons.");
|
||||
let _window = _app.get_webview_window("TeyvatGuide");
|
||||
#[cfg(target_os = "windows")]
|
||||
plugins::text_scale::init(_app.handle().clone());
|
||||
#[cfg(debug_assertions)]
|
||||
if _window.is_some() {
|
||||
|
||||
@@ -2,4 +2,5 @@
|
||||
// @since Beta v0.9.1
|
||||
|
||||
pub mod custom_log;
|
||||
#[cfg(target_os = "windows")]
|
||||
pub mod text_scale;
|
||||
|
||||
Reference in New Issue
Block a user