支持无GUI的Server运行模式

This commit is contained in:
xintaofei
2026-03-29 18:36:30 +08:00
parent 7b73d7e1c2
commit 080a16f26c
49 changed files with 2169 additions and 1047 deletions

View File

@@ -1,8 +1,10 @@
#[cfg(feature = "tauri-runtime")]
use tauri::AppHandle;
use crate::app_error::AppCommandError;
#[tauri::command]
#[cfg(feature = "tauri-runtime")]
#[cfg_attr(feature = "tauri-runtime", tauri::command)]
pub async fn send_notification(
#[allow(unused_variables)] app: AppHandle,
title: String,