|
%!s(int64=4) %!d(string=hai) anos | |
---|---|---|
.. | ||
src-tauri | %!s(int64=4) %!d(string=hai) anos | |
README.md | %!s(int64=4) %!d(string=hai) anos | |
index.html | %!s(int64=4) %!d(string=hai) anos | |
package.json | %!s(int64=4) %!d(string=hai) anos |
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.