|
преди 3 години | |
---|---|---|
.. | ||
src-tauri | преди 3 години | |
README.md | преди 3 години | |
index.html | преди 3 години | |
package.json | преди 3 години |
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.
To execute run the following on the root directory of the repository: cargo run --example resources
.