Files
oak-editor/app/packaging/linux/AppRun
T
2021-04-07 18:21:03 +10:00

16 lines
325 B
Bash
Executable File

#!/bin/bash
# Custom AppRun that ensures the AppImage doesn't dismount before olive-crashhandler exits
# Run main program
$APPDIR/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