Skip to content

Commit 32cbc8f

Browse files
Update snapcraft.yaml
1 parent 2bd75d6 commit 32cbc8f

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

snapcraft.yaml

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,9 @@ source-code: https://github.com/shipshapecode/swach
2222

2323
apps:
2424
swach:
25-
command: bin/Swach
25+
command: usr/lib/swach/Swach
2626
extensions:
2727
- gnome
28-
environment:
29-
LD_LIBRARY_PATH: '$SNAP/usr/lib/swach:$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET:$LD_LIBRARY_PATH'
3028
plugs:
3129
- audio-record
3230
- audio-playback
@@ -46,18 +44,7 @@ parts:
4644
source:
4745
- on amd64: out/make/deb/x64/swach_${SNAP_VERSION}_amd64.deb
4846
- on arm64: out/make/deb/arm64/swach_${SNAP_VERSION}_arm64.deb
49-
override-stage: |
50-
craftctl default
51-
echo "=== DEBUG: Contents after stage in $CRAFT_STAGE ==="
52-
ls -laR $CRAFT_STAGE/bin/ || echo "bin/ does not exist"
53-
echo "=== Looking for Swach ==="
54-
find $CRAFT_STAGE -name "*Swach*" -o -name "*swach*" | head -20
55-
echo "=== Contents of usr/lib/swach ==="
56-
ls -la $CRAFT_STAGE/usr/lib/swach/ || echo "usr/lib/swach does not exist"
57-
organize:
58-
usr/lib/swach/Swach: bin/Swach
5947
prime:
60-
- bin/Swach
6148
- usr/lib/swach/*
6249
- usr/share/*
6350
override-prime: |

0 commit comments

Comments
 (0)