Skip to content

Commit 0bf2d75

Browse files
Update snapcraft.yaml
1 parent 19343eb commit 0bf2d75

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

snapcraft.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ apps:
2525
command: bin/Swach
2626
extensions:
2727
- gnome
28+
environment:
29+
LD_LIBRARY_PATH: '$SNAP/usr/lib/swach:$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET:$LD_LIBRARY_PATH'
2830
plugs:
2931
- audio-record
3032
- audio-playback
@@ -66,8 +68,10 @@ parts:
6668
ls -la bin/ || echo "bin/ does not exist"
6769
echo "Contents of usr/lib/swach/:"
6870
ls -la usr/lib/swach/ || echo "usr/lib/swach/ does not exist"
69-
echo "=== Looking for Swach anywhere ==="
70-
find . -name "*Swach*" -o -name "*swach*" | grep -i swach | head -20
71+
echo "=== Looking for libffmpeg.so ==="
72+
find . -name "*ffmpeg*" | head -20
73+
echo "=== Looking for all .so files in usr/lib/swach ==="
74+
find usr/lib/swach -name "*.so" | head -20
7175
# Fix chrome-sandbox permissions - remove setuid bit
7276
if [ -f usr/lib/swach/chrome-sandbox ]; then
7377
chmod 755 usr/lib/swach/chrome-sandbox

0 commit comments

Comments
 (0)