Skip to content

Commit fa056ac

Browse files
Update snapcraft.yaml
1 parent 2b69237 commit fa056ac

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

snapcraft.yaml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,12 @@ source-code: https://github.com/shipshapecode/swach
2222

2323
apps:
2424
swach:
25-
command: usr/lib/swach/Swach --no-sandbox
25+
command: usr/lib/swach/Swach --no-sandbox --disable-gpu-sandbox
2626
extensions:
2727
- gnome
28+
environment:
29+
TMPDIR: $XDG_RUNTIME_DIR
30+
DISABLE_WAYLAND: 1
2831
plugs:
2932
- audio-record
3033
- audio-playback
@@ -51,14 +54,10 @@ parts:
5154
craftctl default
5255
echo "=== DEBUG: Prime directory after craftctl default ==="
5356
echo "Working directory: $(pwd)"
54-
echo "Contents of bin/:"
55-
ls -la bin/ || echo "bin/ does not exist"
56-
echo "Contents of usr/lib/swach/:"
57-
ls -la usr/lib/swach/ || echo "usr/lib/swach/ does not exist"
58-
echo "=== Looking for libffmpeg.so ==="
59-
find . -name "*ffmpeg*" | head -20
60-
echo "=== Looking for all .so files in usr/lib/swach ==="
61-
find usr/lib/swach -name "*.so" | head -20
57+
echo "=== Looking for desktop files ==="
58+
find . -name "*.desktop"
59+
echo "=== Contents of usr/share/applications ==="
60+
ls -la usr/share/applications/ || echo "usr/share/applications does not exist"
6261
# Fix chrome-sandbox permissions - remove setuid bit
6362
if [ -f usr/lib/swach/chrome-sandbox ]; then
6463
chmod 755 usr/lib/swach/chrome-sandbox

0 commit comments

Comments
 (0)