mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-04-01 10:01:07 +02:00
* feat(core): expose `set_activation_policy`, closes #2258 * fix change file [skip ci] * Update .changes/runtime-set-activation-policy.md [skip ci] Co-authored-by: Amr Bashir <48618675+amrbashir@users.noreply.github.com> * clippy * allow unused mut on example Co-authored-by: Amr Bashir <48618675+amrbashir@users.noreply.github.com>
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.