Skip to content

Commit 8006f74

Browse files
committed
snapcraft: copy gui data to the snap folder on install
1 parent fea06cc commit 8006f74

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

snap/snapcraft.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,12 @@ parts:
117117
- -DCMAKE_PREFIX_PATH=$SNAPCRAFT_STAGE/usr
118118
- -DSNAP_BUILD=on
119119

120-
# XXX: This is an hack to have a kind of bind-mount with absolute prefix.
120+
# XXX: This is an hack to have a kind of bind-mount with absolute prefix.
121121
- -DCMAKE_INSTALL_PREFIX=/snap/$SNAPCRAFT_PROJECT_NAME/current/usr
122+
123+
install: |
124+
cp -av $SNAPCRAFT_PART_INSTALL/../src/snap/gui $SNAPCRAFT_STAGE/../snap
125+
122126
organize:
123127
snap/remmina/current: .
124128
stage:

0 commit comments

Comments
 (0)