mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-13 08:09:39 +00:00
fix u3d snap
This commit is contained in:
parent
0a6a249b21
commit
b59e3580fd
@ -1,4 +1,5 @@
|
||||
#!/bin/bash
|
||||
HERE="$(dirname "$(readlink -f "${0}")")"
|
||||
chmod +x ${HERE}/usr/bin/meshlab
|
||||
export LD_LIBRARY_PATH=${HERE}/usr/lib/meshlab:$LD_LIBRARY_PATH
|
||||
exec "${HERE}/usr/bin/meshlab" "$@"
|
||||
exec "${HERE}/usr/bin/meshlab" "$@"
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
#!/bin/bash
|
||||
HERE="$(dirname "$(readlink -f "${0}")")"
|
||||
chmod +x ${HERE}/usr/bin/meshlabserver
|
||||
export LD_LIBRARY_PATH=${HERE}/usr/lib/meshlab:$LD_LIBRARY_PATH
|
||||
exec "${HERE}/usr/bin/meshlabserver" "$@"
|
||||
exec "${HERE}/usr/bin/meshlabserver" "$@"
|
||||
|
||||
@ -16,7 +16,7 @@ confinement: strict
|
||||
|
||||
apps:
|
||||
meshlab:
|
||||
command: desktop-launch meshlab
|
||||
command: desktop-launch ./AppRun
|
||||
plugs: [home, x11, mir, opengl]
|
||||
desktop: usr/share/applications/meshlab.desktop
|
||||
meshlabserver:
|
||||
@ -88,6 +88,10 @@ parts:
|
||||
rsync -av distrib/* $SNAPCRAFT_PART_INSTALL/
|
||||
|
||||
rm $SNAPCRAFT_PART_INSTALL/usr/share/applications/meshlab_server.desktop
|
||||
|
||||
cp install/linux/resources/AppRunMeshLab $SNAPCRAFT_PART_INSTALL/
|
||||
mv $SNAPCRAFT_PART_INSTALL/AppRunMeshLab $SNAPCRAFT_PART_INSTALL/AppRun
|
||||
chmod +x $SNAPCRAFT_PART_INSTALL/AppRun
|
||||
|
||||
#mkdir -p $SNAPCRAFT_PART_INSTALL/usr/bin
|
||||
#mkdir -p $SNAPCRAFT_PART_INSTALL/usr/lib/meshlab
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user