Skip to content

Commit 5f24f32

Browse files
authored
prevent apps from forcing external libraries
1 parent 3d9335c commit 5f24f32

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

citron-appimage.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,10 @@ xvfb-run -a -- ./lib4bin -p -v -e -s -k \
9494
/usr/lib/pulseaudio/* \
9595
/usr/lib/alsa-lib/*
9696

97+
# prevent external hacks
98+
echo 'unset LD_LIBRARY_PATH
99+
unset LD_PRELOAD' > ./.env
100+
97101
# Prepare sharun
98102
ln ./sharun ./AppRun
99103
./sharun -g

0 commit comments

Comments
 (0)