diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 081c55f..a285c53 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -129,8 +129,8 @@ parts: - else fail override-build: | craftctl default - mkdir -p $CRAFT_PART_INSTALL/opt/onlyoffice - mv $CRAFT_PART_INSTALL/desktopeditors $CRAFT_PART_INSTALL/opt/onlyoffice + mkdir -p $CRAFT_PART_INSTALL/opt/onlyoffice/desktopeditors + mv $CRAFT_PART_INSTALL/??????* app fonts $CRAFT_PART_INSTALL/opt/onlyoffice/desktopeditors mkdir -p $CRAFT_PART_INSTALL/usr/share/applications mv $CRAFT_PART_INSTALL/opt/onlyoffice/desktopeditors/app/onlyoffice-desktopeditors.desktop $CRAFT_PART_INSTALL/usr/share/applications/onlyoffice-desktopeditors.desktop sed 's|=onlyoffice-desktopeditors|\=${SNAP}/opt/onlyoffice/desktopeditors/asc-de-256.png|g' -i $CRAFT_PART_INSTALL/usr/share/applications/onlyoffice-desktopeditors.desktop