File tree Expand file tree Collapse file tree
tooling/bundler/src/bundle/linux/templates Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ ' tauri-bundler ' : patch
3+ ---
4+
5+ Fixes AppImage crashes caused by missing WebKit runtime files.
Original file line number Diff line number Diff line change @@ -12,6 +12,11 @@ cp -r ../appimage_deb/data/usr "{{app_name}}.AppDir"
1212
1313cd " {{app_name}}.AppDir"
1414
15+ # Copy WebKit files.
16+ find /usr/lib* -name WebKitNetworkProcess -exec mkdir -p $( dirname ' {}' ) \; -exec cp --parents ' {}' " ." \; || true
17+ find /usr/lib* -name WebKitWebProcess -exec mkdir -p $( dirname ' {}' ) \; -exec cp --parents ' {}' " ." \; || true
18+ find /usr/lib* -name libwebkit2gtkinjectedbundle.so -exec mkdir -p $( dirname ' {}' ) \; -exec cp --parents ' {}' " ." \; || true
19+
1520wget -q -4 -O AppRun https://github.com/AppImage/AppImageKit/releases/download/continuous/AppRun-x86_64 || wget -q -4 -O AppRun https://github.com/AppImage/AppImageKit/releases/download/12/AppRun-aarch64
1621chmod +x AppRun
1722
@@ -22,7 +27,7 @@ ln -s "usr/share/applications/{{app_name}}.desktop" "{{app_name}}.desktop"
2227
2328cd ..
2429
25- wget -q -4 -O linuxdeploy-plugin-gtk.sh " https://raw.githubusercontent.com/linuxdeploy /linuxdeploy-plugin-gtk/master/linuxdeploy-plugin-gtk.sh"
30+ wget -q -4 -O linuxdeploy-plugin-gtk.sh " https://raw.githubusercontent.com/tauri-apps /linuxdeploy-plugin-gtk/master/linuxdeploy-plugin-gtk.sh"
2631wget -q -4 -O linuxdeploy-x86_64.AppImage https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage
2732
2833chmod +x linuxdeploy-plugin-gtk.sh
You can’t perform that action at this time.
0 commit comments