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
@@ -74,7 +74,7 @@ impl Lok {
|
||||
|
||||
/// dlopens the LOK library and hooks with the profile URL.
|
||||
pub fn hook(install: &Path, profile_url: &str) -> io::Result<Self> {
|
||||
let install = std::fs::canonicalize(install)?;
|
||||
let install = dunce::canonicalize(install)?;
|
||||
let install = install.as_path();
|
||||
let install_str = install.to_string_lossy().into_owned();
|
||||
let install_c = cstring(&install_str)?;
|
||||
|
||||
Reference in new issue
Block a user