I think I know.
First, add code in your application to detect if running under cargo (so not installed). Maybe some env var.
Then find out executable's directory and navigate from there to where cargo stores the asset files.
It's a hack. Cargo should not get special treatment, in fact I already have an env var for "data location". But if it works, it's better than if it doesn't.
=> More informations about this toot | View the thread | More toots from dcz@fosstodon.org
text/gemini
This content has been proxied by September (3851b).