Replies: 3 comments
-
Until #5302 lands you could host a localhost server on the rust side or give tauri a custom Asset implementation that serves the files from disk. https://docs.rs/tauri/latest/tauri/struct.Context.html#method.set_assets |
Beta Was this translation helpful? Give feedback.
-
MMhhh interesting... let me read all of that :) |
Beta Was this translation helpful? Give feedback.
-
I also tried this:
it works apparently but i find it more difficult to debug: i cannot start the app in debug , change the code, and see the result in realtime... another option might be to generate a dll file, and load this dll after downloading it ? but i failed to get this working. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
i have a tauri application that use an external API to grab data.
The API evolve quite often. So when there is a new release of the API, i build a new version of my tauri app.
the problem is, some users use old version of the API.
To know which version i should launch, i created another tauri app, called "launcher".
This specific app will check the current API version used by the user, and will download the associated .exe file from my server.
then the .exe file of my app is started by the launcher.
I would like to know if there is a better way to do this:
My first idea was to have only 1 tauri app (launcher), but this app download a tar.gz of the frontend dist and create a new windows using this dist as content, instead of a full .exe and subprocess.
is it possible?
Beta Was this translation helpful? Give feedback.
All reactions