Skip to content

Commit

Permalink
Merge pull request #97 from cjmayo/desktopfilename
Browse files Browse the repository at this point in the history
  • Loading branch information
chennes authored Aug 14, 2023
2 parents c27d932 + fcd1677 commit 0e20f52
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ apps:
freecad:
command: usr/bin/FreeCAD
extensions: [kde-neon]
common-id: org.freecadweb.FreeCAD.desktop
desktop: usr/share/applications/org.freecadweb.FreeCAD.desktop
common-id: org.freecad.FreeCAD.desktop
desktop: usr/share/applications/org.freecad.FreeCAD.desktop
plugs: &plugs
- home
- opengl
Expand Down Expand Up @@ -257,8 +257,8 @@ parts:
ln -s /usr/bin/shiboken2 /workspace/usr/bin/shiboken2
snapcraftctl build
sed -i -E \
"s|^Icon=(.*)|Icon=\${SNAP}/usr/share/icons/hicolor/scalable/apps/org.freecadweb.FreeCAD.svg|g" \
$CRAFT_PART_INSTALL/usr/share/applications/org.freecadweb.FreeCAD.desktop
"s|^Icon=(.*)|Icon=\${SNAP}/usr/share/icons/hicolor/scalable/apps/org.freecad.FreeCAD.svg|g" \
$CRAFT_PART_INSTALL/usr/share/applications/org.freecad.FreeCAD.desktop
if [ "$CRAFT_TARGET_ARCH" = amd64 ]; then
ln -sf ../libpsm1/libpsm_infinipath.so.1.16 $CRAFT_PART_INSTALL/usr/lib/$CRAFT_ARCH_TRIPLET/libpsm_infinipath.so.1
fi
Expand Down

0 comments on commit 0e20f52

Please sign in to comment.