diff --git a/.changes/fix-resource-scope.md b/.changes/fix-resource-scope.md new file mode 100644 index 000000000..07f206885 --- /dev/null +++ b/.changes/fix-resource-scope.md @@ -0,0 +1,5 @@ +--- +"tauri": patch +--- + +Fixes resource reading being always rejected by the scope. diff --git a/.changes/resource-dir-canonicalize.md b/.changes/resource-dir-canonicalize.md new file mode 100644 index 000000000..a53f820c1 --- /dev/null +++ b/.changes/resource-dir-canonicalize.md @@ -0,0 +1,5 @@ +--- +"tauri-utils": patch +--- + +Canonicalize the return value of `platform::resource_dir`. diff --git a/core/tauri-utils/src/platform.rs b/core/tauri-utils/src/platform.rs index 6393e96e1..96614ffa2 100644 --- a/core/tauri-utils/src/platform.rs +++ b/core/tauri-utils/src/platform.rs @@ -172,7 +172,10 @@ pub fn resource_dir(package_info: &PackageInfo, env: &Env) -> crate::Result crate::Result