Hi,
The way we're using Tauri, we have a binary that can execute in two modes:
- the first mode spawns another copy of the binary in the second mode, and watches for errors. If any are detected, we show an error message in HTML/CSS with Tauri.
- The second mode is the actual application.
Currently both the first and second mode point to a single React app that uses the Tauri command API to figure out which mode it's in. But I'd like to simplify the first mode to just an HTML w/o Javascript page that is completely ignorant of Tauri. Ideally I could just generate the HTML as a string and tell Tauri "please just show this to the user".
I'm relatively new to Tauri and can't figure out how to accomplish this. Advice?