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:
@@ -24,6 +24,7 @@ tauri-build = { version = "2.5.3", features = [] }
|
||||
[dependencies]
|
||||
base64 = "0.22"
|
||||
dirs = "6"
|
||||
dunce = "1"
|
||||
futures-util = "0.3"
|
||||
http = "1"
|
||||
serde_json = "1.0"
|
||||
|
||||
Reference in New Issue
Block a user