fix(core/dialog): reconstruct path using appropriate separator (#820)

* fix(core/dialog): reconstruct path using appropriate separator

ref: tauri-apps/tauri#8074

* Reference original issue [skip ci]
This commit is contained in:
Amr Bashir
2023-12-19 02:09:04 +02:00
committed by GitHub
parent 2d6bfbfacf
commit b1c6a7885e
3 changed files with 34 additions and 27 deletions
@@ -0,0 +1,5 @@
---
"dialog": patch
---
On Windows, fix `open` dialog `defaultPath`, when invoked from JS, not working if the path uses forward slash (`/`)