File tree Expand file tree Collapse file tree 2 files changed +9
-11
lines changed
Expand file tree Collapse file tree 2 files changed +9
-11
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ exec " $SNAP /usr/lib/swach/Swach" --no-sandbox --disable-gpu-sandbox --ozone-platform=x11 " $@ "
Original file line number Diff line number Diff line change @@ -22,12 +22,11 @@ source-code: https://github.com/shipshapecode/swach
2222
2323apps :
2424 swach :
25- command : usr/lib/swach/Swach --no-sandbox --disable-gpu-sandbox --ozone-platform=x11
25+ command : bin/launcher
2626 extensions :
2727 - gnome
2828 environment :
2929 TMPDIR : $XDG_RUNTIME_DIR
30- DISABLE_WAYLAND : 1
3130 plugs :
3231 - audio-record
3332 - audio-playback
@@ -42,22 +41,18 @@ apps:
4241 - screen-inhibit-control
4342
4443parts :
44+ launcher :
45+ plugin : dump
46+ source : snap/local
47+ source-type : local
48+
4549 swach :
4650 plugin : dump
4751 source :
4852 - on amd64 : out/make/deb/x64/swach_${SNAP_VERSION}_amd64.deb
4953 - on arm64 : out/make/deb/arm64/swach_${SNAP_VERSION}_arm64.deb
50- prime :
51- - usr/lib/swach/*
52- - usr/share/*
5354 override-prime : |
5455 craftctl default
55- echo "=== DEBUG: Prime directory after craftctl default ==="
56- echo "Working directory: $(pwd)"
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"
6156 # Fix chrome-sandbox permissions - remove setuid bit
6257 if [ -f usr/lib/swach/chrome-sandbox ]; then
6358 chmod 755 usr/lib/swach/chrome-sandbox
You can’t perform that action at this time.
0 commit comments