mirror of
https://github.com/Myriad-Dreamin/tinymist.git
synced 2025-07-24 13:13:43 +00:00
fix: open exported files using rust's open
crate (#838)
* fix: open exported files using rust's `open` crate * feat: explorer as file opener on windows * dev: link related issue
This commit is contained in:
parent
263458a80b
commit
78a4117ec6
5 changed files with 110 additions and 37 deletions
|
@ -208,8 +208,12 @@ mod polymorphic {
|
|||
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct OnExportRequest {
|
||||
/// The path of the document to export.
|
||||
pub path: PathBuf,
|
||||
/// The kind of the export.
|
||||
pub kind: ExportKind,
|
||||
/// Whether to open the exported file(s) after the export is done.
|
||||
pub open: bool,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue