kamft_desktop 0.0.4

Kamft desktop utilities including screenshot capture and WeChat Work integration
1
2
3
4
5
6
7
8
9
10
/// 非 Windows 平台:均不支持开机自启
pub fn is_enabled() -> bool { false }
pub fn enable() -> Result<(), String> { Err("仅支持 Windows".to_string()) }
pub fn disable() -> Result<(), String> { Err("仅支持 Windows".to_string()) }
pub fn toggle() -> Result<bool, String> { Err("仅支持 Windows".to_string()) }
pub fn is_scheduled_task_enabled() -> bool { false }
pub fn create_scheduled_task() -> Result<(), String> { Err("仅支持 Windows".to_string()) }
pub fn delete_scheduled_task() -> Result<(), String> { Err("仅支持 Windows".to_string()) }
pub fn enable_all() -> Vec<(&'static str, Result<(), String>)> { vec![] }
pub fn disable_all() -> Vec<(&'static str, Result<(), String>)> { vec![] }