R3.1: real paths without \?\ on Windows (dunce); old recent lists read plain
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
1066b41cb0
commit
d0b5aede95
21 files changed
+59
-24
No files matched your search
@@ -53,7 +53,7 @@ impl Worker {
|
||||
pub(crate) fn tile_self_check(&mut self, profile_dir: &Path) -> io::Result<bool> {
|
||||
let doc = profile_dir.join("lok-verify.fodt");
|
||||
std::fs::write(&doc, VERIFY_DOC)?;
|
||||
let url = ipc::file_url_of(&doc.canonicalize()?);
|
||||
let url = ipc::file_url_of(&dunce::canonicalize(&doc)?);
|
||||
let payload = self.request(tag::VERIFY, &Pack::new().str(&url).bytes())?;
|
||||
let red = Unpack::new(&payload).u64()?;
|
||||
Ok(red > 0)
|
||||
|
||||
Reference in new issue
Block a user