Skip to content

Commit 294a6de

Browse files
Update appimage.sh to support runtime libstdc++.so.6 loading (#1292)
Add checkrt plugin in order to detect the right libstdc++.so.6 version to load.
1 parent 2843da4 commit 294a6de

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

dist/linux/appimage.sh

+4-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ curl -sSfL https://github.com"$(curl https://github.com/probonopd/go-appimage/re
1010
chmod a+x mkappimage.AppImage
1111
curl -sSfLO "https://raw.githubusercontent.com/linuxdeploy/linuxdeploy-plugin-gtk/master/linuxdeploy-plugin-gtk.sh"
1212
chmod a+x linuxdeploy-plugin-gtk.sh
13+
curl -sSfLO "https://github.com/darealshinji/linuxdeploy-plugin-checkrt/releases/download/continuous/linuxdeploy-plugin-checkrt.sh"
14+
chmod a+x linuxdeploy-plugin-checkrt.sh
1315

1416
if [[ ! -e /usr/lib/x86_64-linux-gnu ]]; then
1517
sed -i 's#lib\/x86_64-linux-gnu#lib64#g' linuxdeploy-plugin-gtk.sh
@@ -39,7 +41,8 @@ export NO_STRIP=1
3941
-d "${GITHUB_WORKSPACE}"/AppDir/info.cemu.Cemu.desktop \
4042
-i "${GITHUB_WORKSPACE}"/AppDir/info.cemu.Cemu.png \
4143
-e "${GITHUB_WORKSPACE}"/AppDir/usr/bin/Cemu \
42-
--plugin gtk
44+
--plugin gtk \
45+
--plugin checkrt
4346

4447
if ! GITVERSION="$(git rev-parse --short HEAD 2>/dev/null)"; then
4548
GITVERSION=experimental

0 commit comments

Comments
 (0)