|
|
4 年之前 | |
|---|---|---|
| .. | ||
| src-tauri | 4 年之前 | |
| README.md | 4 年之前 | |
| index.html | 4 年之前 | |
| package.json | 4 年之前 | |
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.