Skip to content

Commit 311f2ab

Browse files
committed
Adding meshlab
1 parent e0e7842 commit 311f2ab

2 files changed

Lines changed: 20 additions & 0 deletions

File tree

meshlab.png

76 KB
Loading

setupPackages.sh

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ fi
4444
ICON=$SCRIPT/Cura/resources/images/cura-icon.png
4545
CURADESKTOP=$SCRIPT/Cura-5.4.desktop
4646
ARDUINODESKTOP=$SCRIPT/Arduino-2.desktop
47+
MESHLAB=$SCRIPT/MashLab.desktop
4748
if (! test -e $CURADESKTOP) then
4849
if (! test -e $ICON) then
4950
git clone https://github.com/Ultimaker/Cura.git $SCRIPT/Cura/
@@ -82,6 +83,25 @@ if (! test -e $ARDUINODESKTOP) then
8283
sudo desktop-file-install $ARDUINODESKTOP
8384
fi
8485

86+
if (! test -e $MESHLAB) then
87+
sudo wget https://github.com/cnr-isti-vclab/meshlab/releases/download/MeshLab-2023.12/MeshLab2023.12-linux.AppImage -O /usr/local/bin/mashlab
88+
sudo chmod +x /usr/local/bin/mashlab
89+
cp $SCRIPT/meshlab.png /usr/local/bin/meshlab.png
90+
echo "[Desktop Entry]
91+
Version=1.0
92+
Type=Application
93+
Name=Mesh Lab
94+
Comment=
95+
Exec=/usr/local/bin/mashlab
96+
Icon=/usr/local/bin/meshlab.png
97+
Path=
98+
Terminal=false
99+
StartupNotify=false" > $MESHLAB
100+
sudo chmod +x $MESHLAB
101+
gio set $MESHLAB "metadata::trusted" yes
102+
sudo desktop-file-install $MESHLAB
103+
fi
104+
85105
SCRATCHJR=$SCRIPT/ScratchJr-Desktop/
86106
if (! test -e $SCRATCHJR) then
87107
git clone https://github.com/leonskb4/ScratchJr-Desktop $SCRATCHJR

0 commit comments

Comments
 (0)