try custom AppRun
This commit is contained in:
@@ -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 \
|
||||
|
||||
Executable
+15
@@ -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
|
||||
Reference in New Issue
Block a user