From 992aebe6dcb76436baca682b6627cd08f7db60cc Mon Sep 17 00:00:00 2001 From: probonopd Date: Tue, 8 Aug 2017 16:27:24 +0200 Subject: [PATCH] Update worker.sh --- code/worker.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/code/worker.sh b/code/worker.sh index 3fa46ede..5d13f050 100644 --- a/code/worker.sh +++ b/code/worker.sh @@ -80,14 +80,21 @@ if [ $TYPE -eq 1 ] ; then # later # sudo umount -l /mnt fi + +echo "===========================================" + # TODO: If everything succeeded until here, then download Firejail aith Xpra and run the application in it # and take screenshots if we don't have them already from AppStream -LD_DEBUG=libs "$APPDIR/AppRun" & +# LD_DEBUG=libs "$APPDIR/AppRun" & # Getting "Desktop file is missing. Please run /mnt/AppRun from within an AppImage." with wire-2.15.2751-x86_64.AppImage +LD_DEBUG=libs "$FILENAME" & APID=$! sleep 5 kill $APID && echo "SUCCESS" || exit 1 + +echo "===========================================" + # TODO: If everything succeeded until here, then put together a "database file" and display it mkdir -p database/$INPUTBASENAME