mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-24 08:03:19 +00:00
fix(clipboard): build on Windows again after the command refactor (#4030)
#3598 moved blocking from src-tauri's commands::doc to ide_host::ops::doc, but the Windows-only import in commands/clipboard.rs still named the old path, so src-tauri no longer compiled on Windows. It now imports ide_host::ops::doc::blocking like commands/db.rs and commands/perf.rs. Co-authored-by: EjaYF <9842286+EjaYF@users.noreply.github.com>
This commit is contained in:
co-authored by
EjaYF
parent
318f4a2d82
commit
9cfe667b6a
@@ -1,11 +1,11 @@
|
||||
//! The OS clipboard's file list, so the project view and Explorer exchange files.
|
||||
|
||||
#[cfg(not(any(target_os = "macos", target_os = "linux")))]
|
||||
use crate::commands::doc::blocking;
|
||||
use ide_command::desktop_command;
|
||||
#[cfg(any(target_os = "macos", target_os = "linux"))]
|
||||
use ide_core::IdeError;
|
||||
use ide_core::IdeResult;
|
||||
#[cfg(not(any(target_os = "macos", target_os = "linux")))]
|
||||
use ide_host::ops::doc::blocking;
|
||||
use std::path::{Path, PathBuf};
|
||||
use tauri::{AppHandle, WebviewWindow};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user