I'm trying a workaround solution to bundle dynamic libraries with my app until this issue is resolved: https://github.com/tauri-apps/tauri/issues/6802. I have a script that places all the libraries in the src-tauri directory, then in the tauri.conf.json's bundle section I've added
"resources": [
"*.{so,dylib,dll}"
]
Unfortunately, it doesn't seem to recognize this pattern and can't find any files. Does it not use glob patterns?
Note that they have to be placed in the src-tauri directory and not src-tauri/nativelibs (some subfolder) because on Windows the .dll files need to be next to the .exe file, not in a subfolder. Unfortunately, tauri doesn't seem to allow choosing the directory the resource should end up in. I would also be ok if someone could figure out how to add the subfolder to the windows PATH variable when running the tauri app.