fix: support windows

This commit is contained in:
reya
2024-04-12 18:35:19 +07:00
parent 8a7b246315
commit 35cf0abda4
4 changed files with 327 additions and 102 deletions

View File

@@ -1,4 +1,6 @@
#[cfg(target_os = "macos")]
use objc::{msg_send, sel, sel_impl};
#[cfg(target_os = "macos")]
use rand::{distributions::Alphanumeric, Rng};
use tauri::{
plugin::{Builder, TauriPlugin},