fix(save): refresh verified-save fingerprints

This commit is contained in:
ysdirector committed 2026-10-10 08:01:11 +08:00
1 parent 2a2d9b55d9
commit f3274f754a
3 files changed
+164 -1

No files matched your search

+1 -1
View File
@@ -128,7 +128,7 @@ fn plot_render_mode_override(
}
#[cfg(not(target_arch = "wasm32"))]
fn native_paths_match(left: &std::path::Path, right: &std::path::Path) -> bool {
pub(in crate::app) fn native_paths_match(left: &std::path::Path, right: &std::path::Path) -> bool {
match (std::fs::canonicalize(left), std::fs::canonicalize(right)) {
(Ok(left), Ok(right)) => left == right,
_ => left == right,
+2
View File
@@ -97,6 +97,8 @@ mod dialog;
mod dynamic;
mod file;
pub(in crate::app) use file::background_task;
#[cfg(not(target_arch = "wasm32"))]
pub(in crate::app) use file::native_paths_match;
mod page_setup_import;
mod style;
pub(in crate::app) mod util;