From fb05785439794210ba51100eef6e2c3891cbf2d7 Mon Sep 17 00:00:00 2001 From: probonopd Date: Tue, 8 Aug 2017 17:24:13 +0200 Subject: [PATCH] Update worker.sh --- code/worker.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/code/worker.sh b/code/worker.sh index 157cb8d6..5cc45f1e 100644 --- a/code/worker.sh +++ b/code/worker.sh @@ -88,8 +88,10 @@ echo "===========================================" # 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 # chmod +x "$FILENAME" -wget -c https://sourceforge.net/projects/firejail/files/firejail/firejail_0.9_1_amd64.deb/download -O firejail_0.9_1_amd64.deb -sudo dpkg -i firejail_0.9_1_amd64.deb + +# TODO: Cache firejail and do not build it every time +git clone https://github.com/netblue30/firejail.git +( cd firejail ; ./configure && make && sudo make install-strip ) firejail --appimage ./"$FILENAME" & APID=$!