File tree 2 files changed +11
-1
lines changed
tooling/bundler/src/bundle/linux/templates
2 files changed +11
-1
lines changed 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"
12
12
13
13
cd " {{app_name}}.AppDir"
14
14
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
+
15
20
wget -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
16
21
chmod +x AppRun
17
22
@@ -22,7 +27,7 @@ ln -s "usr/share/applications/{{app_name}}.desktop" "{{app_name}}.desktop"
22
27
23
28
cd ..
24
29
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"
26
31
wget -q -4 -O linuxdeploy-x86_64.AppImage https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage
27
32
28
33
chmod +x linuxdeploy-plugin-gtk.sh
You can’t perform that action at this time.
0 commit comments