fix(snap): preserve payload layout

Snapcraft strips the sole usr directory from tar sources, so extract the artifact directly and retain its desktop-file path.\n\nAdd a snap-only manual target to avoid rebuilding other platforms while validating packaging fixes.
This commit is contained in:
Hakan Seven 2026-08-16 08:38:51 +03:00
commit ca959a31e0
2 changed files with 15 additions and 2 deletions

View file

@ -70,8 +70,10 @@ apps:
parts:
open-cad-studio:
plugin: dump
source: linux-payload.tar.gz
plugin: nil
override-build: |
mkdir -p "${CRAFT_PART_INSTALL}"
tar -xzf "${CRAFT_PROJECT_DIR}/linux-payload.tar.gz" -C "${CRAFT_PART_INSTALL}"
stage-packages:
- libxcursor1
- libxi6