fix: compile

This commit is contained in:
Kingtous
2023-02-06 12:10:15 +08:00
parent 11c6008811
commit a601e3b241
2 changed files with 13 additions and 12 deletions

View File

@@ -1288,6 +1288,7 @@ pub fn main_start_ipc_url_server() {
/// Send a url scheme throught the ipc.
///
/// * macOS only
#[allow(unused_variables)]
pub fn send_url_scheme(url: String) {
#[cfg(target_os = "macos")]
thread::spawn(move || crate::ui::macos::handle_url_scheme(url));