Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

How to handle Tauri sidecars and allowing externalBin to be called ? #1454

Open
jrouaix opened this issue Sep 11, 2023 · 3 comments
Open

How to handle Tauri sidecars and allowing externalBin to be called ? #1454

jrouaix opened this issue Sep 11, 2023 · 3 comments
Labels
cli Related to the dioxus-cli program enhancement New feature or request
Milestone

Comments

@jrouaix
Copy link

jrouaix commented Sep 11, 2023

Hello,

Do you have any working example where :

  • one or more executable are embed in the Tauri bundle
  • and are called successfully when the app is installed as .AppImage or .deb

So far I only got file not found or permission denied. While the executing the dx serve --hot-reload --platform desktop, the have the right sidecar tool called.

The stuff was already hard to configure in Tauri, yet it seems worst with Dioxus ...
more information from here :

@ealmloff ealmloff added enhancement New feature or request cli Related to the dioxus-cli program labels Sep 11, 2023
@jrouaix
Copy link
Author

jrouaix commented Sep 13, 2023

Hoho ... so .... the Dioxus.toml deserialisation is typo tolerant 🤦🏼‍♂️

So my misspelled externalBin configuration was just silently ignored (I had to do external_bin).

Perhaps Dioxus users would enjoy a strictier toml deserialisation setting ? (so they don't lose hours like myself)

What do you think ?

@ealmloff
Copy link
Member

Perhaps Dioxus users would enjoy a strictier toml deserialisation setting ? (so they don't lose hours like myself)

What do you think ?

Ignoring extra fields comes from the toml crate. I agree there should be a setting to turn this off (or even make it more strict by default), but I'm not sure if that crate allow more strict deserialization

@ealmloff
Copy link
Member

ealmloff commented Jan 6, 2025

This field is added to the documentation in DioxusLabs/docsite#371

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
cli Related to the dioxus-cli program enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants