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
+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