fix: build on windows

This commit is contained in:
reya
2024-07-30 14:00:31 +07:00
parent a453bd35e5
commit 0b132b53ad

View File

@@ -1,7 +1,7 @@
// Prevents additional console window on Windows in release, DO NOT REMOVE!! // Prevents additional console window on Windows in release, DO NOT REMOVE!!
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")] #![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
#[cfg(not(target_os = "linux"))] #[cfg(target_os = "macos")]
use border::WebviewWindowExt as WebviewWindowExtAlt; use border::WebviewWindowExt as WebviewWindowExtAlt;
use nostr_sdk::prelude::*; use nostr_sdk::prelude::*;
use std::{collections::HashMap, fs, time::Duration}; use std::{collections::HashMap, fs, time::Duration};