icon for appimage

This commit is contained in:
alemuntoni 2020-04-15 14:38:23 +02:00
parent b55d38ae3a
commit a9dc5ef7ce
2 changed files with 7 additions and 4 deletions

View File

@ -1,6 +1,6 @@
#!/bin/bash
# this is a script shell for setting up the application bundle for linux
# Requires a properly built meshlab (does not require to run the
# Requires a properly built meshlab (does not require to run the
# linux_deploy.sh script).
#
# This script can be run only in the oldest supported linux distro that you are using
@ -8,7 +8,7 @@
#
# Without given arguments, MeshLab AppImage will be placed in the meshlab/distrib
# directory.
#
#
# You can give as argument the DISTRIB_PATH.
cd "${0%/*}" #move to script directory
@ -49,8 +49,11 @@ rm -r plugins/U3D_W32/
rm -r plugins/plugins.txt
rm -r README.md
mkdir -p usr/share/icons/hicolor/512x512/apps/
mv meshlab.png usr/share/icons/hicolor/512x512/apps/meshlab.png
$INSTALL_PATH/resources/linuxdeployqt meshlab -appimage -executable=meshlabserver
mv *.AppImage MeshLab$(date +%Y.%m)-linux.AppImage
mv *.AppImage MeshLab$(date +%Y.%m)-linux.AppImage
#at this point, distrib folder contains all the files necessary to execute meshlab
echo MeshLab$(date +%Y.%m)-linux.AppImage generated

View File

@ -7,7 +7,7 @@ GenericName=Mesh processing
GenericName[en_GB]=Mesh processing
Comment=View and process meshes
Exec=AppRun %F
Icon=meshlab.png
Icon=meshlab
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;
Categories=Graphics;3DGraphics;Viewer;Qt;