mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-13 08:09:39 +00:00
fix snap icon
This commit is contained in:
parent
8f550373c2
commit
be40e562ed
@ -6,7 +6,7 @@ GenericName=Mesh processing
|
||||
GenericName[en_GB]=Mesh processing
|
||||
Comment=View and process meshes
|
||||
Type=Application
|
||||
Icon=icon.png
|
||||
Icon=/snap/meshlab/x1/usr/share/icons/meshlab.png
|
||||
Exec=meshlab %F
|
||||
Terminal=false
|
||||
MimeType=model/mesh;application/x-3ds;image/x-3ds;model/x-ply;application/sla;model/x-quad-object;model/x-geomview-off;application/x-cyclone-ptx;application/x-vmi;application/x-bre;model/vnd.collada+xml;model/openctm;application/x-expe-binary;application/x-expe-ascii;application/x-xyz;application/x-gts;chemical/x-pdb;application/x-tri;application/x-asc;model/x3d+xml;model/x3d+vrml;model/vrml;model/u3d;model/idtf;
|
||||
|
||||
@ -87,9 +87,8 @@ parts:
|
||||
mkdir -p $SNAPCRAFT_PART_INSTALL/usr/share/applications
|
||||
mkdir -p $SNAPCRAFT_PART_INSTALL/usr/share/meshlab
|
||||
mkdir -p $SNAPCRAFT_PART_INSTALL/usr/share/doc/meshlab
|
||||
mkdir -p $SNAPCRAFT_PART_INSTALL/usr/share/icons/hicolor/512x512/apps/
|
||||
mkdir -p $SNAPCRAFT_PART_INSTALL/usr/share/icons/Yaru/512x512/apps/
|
||||
|
||||
mkdir -p $SNAPCRAFT_PART_INSTALL/usr/share/icons
|
||||
|
||||
cd distrib
|
||||
|
||||
rm -r lib/macx64/
|
||||
@ -102,10 +101,8 @@ parts:
|
||||
rm -r plugins/plugins.txt
|
||||
rm -r README.md
|
||||
|
||||
cp install/linux/snap/meshlab.desktop $SNAPCRAFT_PART_INSTALL/usr/share/applications/
|
||||
cp meshlab.png $SNAPCRAFT_PART_INSTALL/usr/share/applications/
|
||||
cp meshlab.png $SNAPCRAFT_PART_INSTALL/usr/share/icons/hicolor/512x512/apps/meshlab.png
|
||||
mv meshlab.png $SNAPCRAFT_PART_INSTALL/usr/share/icons/Yaru/512x512/apps/meshlab.png
|
||||
cp ../install/linux/snap/meshlab.desktop $SNAPCRAFT_PART_INSTALL/usr/share/applications/
|
||||
mv meshlab.png $SNAPCRAFT_PART_INSTALL/usr/share/icons/meshlab.png
|
||||
mv meshlabserver $SNAPCRAFT_PART_INSTALL/usr/bin
|
||||
mv meshlab $SNAPCRAFT_PART_INSTALL/usr/bin
|
||||
mv LICENSE.txt $SNAPCRAFT_PART_INSTALL/usr/share/doc/meshlab/
|
||||
|
||||
@ -87,8 +87,7 @@ parts:
|
||||
mkdir -p $SNAPCRAFT_PART_INSTALL/usr/share/applications
|
||||
mkdir -p $SNAPCRAFT_PART_INSTALL/usr/share/meshlab
|
||||
mkdir -p $SNAPCRAFT_PART_INSTALL/usr/share/doc/meshlab
|
||||
mkdir -p $SNAPCRAFT_PART_INSTALL/usr/share/icons/hicolor/512x512/apps/
|
||||
mkdir -p $SNAPCRAFT_PART_INSTALL/usr/share/icons/Yaru/512x512/apps/
|
||||
mkdir -p $SNAPCRAFT_PART_INSTALL/usr/share/icons
|
||||
|
||||
cd distrib
|
||||
|
||||
@ -103,9 +102,7 @@ parts:
|
||||
rm -r README.md
|
||||
|
||||
cp ../install/linux/snap/meshlab.desktop $SNAPCRAFT_PART_INSTALL/usr/share/applications/
|
||||
cp meshlab.png $SNAPCRAFT_PART_INSTALL/usr/share/applications/icon.png
|
||||
cp meshlab.png $SNAPCRAFT_PART_INSTALL/usr/share/icons/hicolor/512x512/apps/meshlab.png
|
||||
mv meshlab.png $SNAPCRAFT_PART_INSTALL/usr/share/icons/Yaru/512x512/apps/meshlab.png
|
||||
mv meshlab.png $SNAPCRAFT_PART_INSTALL/usr/share/icons/meshlab.png
|
||||
mv meshlabserver $SNAPCRAFT_PART_INSTALL/usr/bin
|
||||
mv meshlab $SNAPCRAFT_PART_INSTALL/usr/bin
|
||||
mv LICENSE.txt $SNAPCRAFT_PART_INSTALL/usr/share/doc/meshlab/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user