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

@@ -19,6 +19,7 @@ use nostr_sdk::prelude::*;
use std::fs;
use tauri::Manager;
use tauri_plugin_autostart::MacosLauncher;
#[cfg(target_os = "macos")]
use traffic_light::setup_traffic_light_positioner;
pub struct Nostr {