Strip \\?\ extended-length prefix from Windows resource paths

Node.js module resolver can't handle the \\?\ prefix that Tauri's
resource_dir() returns on Windows, causing EISDIR errors. Use dunce
to simplify paths before passing them to Node.
This commit is contained in:
Mohamed Boudra
2026-03-11 14:51:47 +07:00
parent e5014a5f57
commit 78849fa0bf
3 changed files with 4 additions and 1 deletions
+1
View File
@@ -2633,6 +2633,7 @@ version = "0.1.25"
dependencies = [
"base64 0.22.1",
"dirs",
"dunce",
"futures-util",
"http",
"log",