Lucas Nogueira 2a7bf6d912 refactor(examples): improve security when rendering HTML strings [TRI-003] (#14) %!s(int64=3) %!d(string=hai) anos
..
src-tauri cf54dcf9c8 feat: improve `CSP` security with nonces and hashes, add `devCsp` [TRI-004] (#8) %!s(int64=3) %!d(string=hai) anos
README.md 1c97a151c1 feat(examples): add `resources` example (#2001) %!s(int64=4) %!d(string=hai) anos
index.html 2a7bf6d912 refactor(examples): improve security when rendering HTML strings [TRI-003] (#14) %!s(int64=3) %!d(string=hai) anos
package.json 1c97a151c1 feat(examples): add `resources` example (#2001) %!s(int64=4) %!d(string=hai) anos

README.md

Resource example

This example demonstrates the Tauri bundle resources functionality. The example adds src-tauri/assets/index.js as a resource (defined on tauri.conf.json > tauri > bundle > resources) and executes it using Node.js, locating the JavaScript file using the tauri::api::path::resolve_path API.