Files
oak-editor/app/packaging/linux/AppRun
T
2022-01-18 13:03:46 -08:00

16 lines
332 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