try custom AppRun

This commit is contained in:
itsmattkc
2021-04-07 18:20:57 +10:00
parent db460aeec3
commit df93ab5195
2 changed files with 18 additions and 0 deletions
+3
View File
@@ -83,6 +83,9 @@ jobs:
# Create install tree
cmake --install app --prefix appdir/usr
# Inject custom AppRun (linuxdeployqt won't replace if it already exists)
cp $GITHUB_WORKSPACE/app/packaging/linux/AppRun appdir
# Process AppDir
/usr/local/linuxdeployqt-x86_64.AppImage \
appdir/usr/share/applications/org.olivevideoeditor.Olive.desktop \
+15
View File
@@ -0,0 +1,15 @@
#!/bin/bash
# Custom AppRun that ensures the AppImage doesn't dismount before olive-crashhandler exits
# Run main program
usr/bin/olive-editor
# Wait arbitrary amount of time
sleep 5
# While olive-crashhandler exists, keep sleeping
while [[ $(ps -aux | grep olive-crashhandler | grep -v grep) ]]
do
sleep 5
done