Happy (early) Canada day.
Here is the tutorial you guys have been asking for since my first Tauri tutorial.
https://github.com/elibroftw/modern-d... (relevant: ExampleView.jsx, main.rs, SAMPLE_README.md)
Quick correction: the println does show up but it gets buried by hmr (Vite).
For donations, I accept Monero or Music Caster translations (work for work)
monero:84PR6SkYd5zaFLKDjAFrQfbaAg2c7SV3q3XDZ15QCpEZUggrN4YzY7n8m9XC3deXjo41yWHTm1LrsUpPTYGnRQbD9Cwp8En
00:00 Introduction
00:50 Modifying tauri.conf.json for fs
02:17 using the fs API
04:15 using path and shell APIs
04:39 fs demo
05:40 What about arbitrary files?
05:50 Rust command
08:00 Rust command invocation
10:10 Rust command return data
14:24 Conclusion