tauri入门

superadmin · 2026/11/4 09:28:07

需要加上

not(debug_assertions)
#![cfg_attr(
    all(
        target_os = "windows",
        feature = "desktop",
        not(debug_assertions)
    ),
    windows_subsystem = "windows"
)]