#How can I get PathResolver for a `.manage()` call on Tauri Builder?

2 messages · Page 1 of 1 (latest)

neon escarp
#

I'm using the .manage() on Tauri builder to save a Struct that have to access a specific folder on $APPDATA folder of my application. But I don't know to get PathResolver to work on this specific case

lyric gyro
#

you can also call manage in the setup hook instead of on the builder. the timing should be roughly the same but you'll have access to an App instance in the setup hook which you can use to get the pathresolver.