fix(bundler): fix injectedbundle search path (#12466)

This commit is contained in:
Fabian-Lars
2025-01-21 15:52:41 +01:00
committed by GitHub
parent b8eb28877f
commit fbe7c9ead7
2 changed files with 6 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
---
tauri-bundler: 'patch:bug'
---
Fixed an issue that caused the compiled AppImage to miss webkitgtk's internal `libwebkit2gtkinjectedbundle.so` file.

View File

@@ -141,7 +141,7 @@ pub fn bundle_project(settings: &Settings) -> crate::Result<Vec<PathBuf>> {
for file in [
"WebKitNetworkProcess",
"WebKitWebProcess",
"libwebkit2gtkinjectedbundle.so",
"injected-bundle/libwebkit2gtkinjectedbundle.so",
] {
for source in search_dirs.map(PathBuf::from) {
// TODO: Check if it's the same dir name on all systems